Skip to content

Commit

Permalink
Try fixing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
primeapple committed Jan 14, 2025
1 parent 0593d9e commit c6974ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .config/yadm/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ if [[ ! -d "$BOOTSTRAP_D" ]]; then
exit 1
fi

find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
mapfile -t bootstraps < <(find -L "$BOOTSTRAP_D" -type f | sort)
for bootstrap in "${bootstraps[@]}"; do
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
echo "Executing file from bootstrap: $bootstrap"
if ! "$bootstrap"; then
Expand Down
2 changes: 1 addition & 1 deletion .github/yadm-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ echo "## DONE"
###############################################################################

echo "## TEST: pacman installed specified applications"
apps=("nvim" "bat" "eza")
apps=("docker" "syncthing" "zip")
for app in "${apps[@]}"; do
if ! command -v "$app"; then
echo "Error: App $app was not installed by pacman."
Expand Down

0 comments on commit c6974ff

Please sign in to comment.