Fixed bootstrap

This commit is contained in:
Michel Fedde 2025-09-27 16:01:27 +02:00
parent b7a572b21f
commit e4e79cb1cf

View file

@ -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
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
done < <(find -L "$APPLICATIONS_PATH" -type f | sort)
echo -n "# Installing/Updating applications (${#applications[@]})"