Fixed bootstrap
This commit is contained in:
parent
b7a572b21f
commit
e4e79cb1cf
1 changed files with 5 additions and 9 deletions
|
|
@ -50,15 +50,11 @@ addGitInstall() {
|
||||||
gitInstalls+=("$name;$path;$setupCommand")
|
gitInstalls+=("$name;$path;$setupCommand")
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ ! -z "$1" ]]; then
|
while IFS= read -r file; do
|
||||||
source "$APPLICATIONS_PATH/$1.sh"
|
|
||||||
else
|
|
||||||
while IFS= read -r file; do
|
|
||||||
if [[ -x "$file" && ! "$file" =~ "##" && ! "$file" =~ ~$ && ! "$file" =~ ".bak" ]]; then
|
if [[ -x "$file" && ! "$file" =~ "##" && ! "$file" =~ ~$ && ! "$file" =~ ".bak" ]]; then
|
||||||
source $file
|
source $file
|
||||||
fi
|
fi
|
||||||
done < <(find -L "$APPLICATIONS_PATH" -type f | sort)
|
done < <(find -L "$APPLICATIONS_PATH" -type f | sort)
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
echo -n "# Installing/Updating applications (${#applications[@]})"
|
echo -n "# Installing/Updating applications (${#applications[@]})"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue