From e4e79cb1cf48ae98acd6c5790a0d31be203edbfa Mon Sep 17 00:00:00 2001 From: Michel Fedde Date: Sat, 27 Sep 2025 16:01:27 +0200 Subject: [PATCH] Fixed bootstrap --- .config/yadm/bootstrap.v2/bootstrap | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.config/yadm/bootstrap.v2/bootstrap b/.config/yadm/bootstrap.v2/bootstrap index 2a86e30..fda2f4b 100755 --- a/.config/yadm/bootstrap.v2/bootstrap +++ b/.config/yadm/bootstrap.v2/bootstrap @@ -50,15 +50,11 @@ addGitInstall() { gitInstalls+=("$name;$path;$setupCommand") } -if [[ ! -z "$1" ]]; then - source "$APPLICATIONS_PATH/$1.sh" -else - while IFS= read -r file; do - if [[ -x "$file" && ! "$file" =~ "##" && ! "$file" =~ ~$ && ! "$file" =~ ".bak" ]]; then - source $file - fi - done < <(find -L "$APPLICATIONS_PATH" -type f | sort) -fi +while IFS= read -r file; do + if [[ -x "$file" && ! "$file" =~ "##" && ! "$file" =~ ~$ && ! "$file" =~ ".bak" ]]; then + source $file + fi +done < <(find -L "$APPLICATIONS_PATH" -type f | sort) echo -n "# Installing/Updating applications (${#applications[@]})"