This commit is contained in:
Richard Sperry 2025-04-17 13:09:22 -07:00
parent 1a54b2667b
commit bd9913b82b

View file

@ -35,7 +35,10 @@ run() {
fi fi
if [ "$(ls -A "$CUSTOM_BASH_SCRIPTS_PATH")" ]; then if [ "$(ls -A "$CUSTOM_BASH_SCRIPTS_PATH")" ]; then
for script in "${CUSTOM_BASH_SCRIPTS_PATH}"/*.sh/!"$pathsfile"; do for script in "${CUSTOM_BASH_SCRIPTS_PATH}"/*.sh; do
if [ "$script" = "$pathsfile" ]; then
continue
fi
echo "Running custom script: $script" echo "Running custom script: $script"
chmod +x "$script" chmod +x "$script"
"$script" "$script"