feature(HELPERSCRIPTS): add conditionality to script update

This commit is contained in:
Asif Bacchus 2021-01-15 05:18:55 -07:00
parent 7e96583455
commit cbaadc40c4

View File

@ -122,7 +122,8 @@ fi
### update scripts ### update scripts
printf "%sUpdating %s service scripts%s\n" "$info" "$containerName" "$norm" if [ "$doScriptUpdate" -eq 1 ]; then
printf "%s*** Updating %s service scripts ***%s\n" "$info" "$containerName" "$norm"
## download latest checksums ## download latest checksums
printf "Getting latest checksums... " printf "Getting latest checksums... "
@ -209,7 +210,7 @@ while IFS=' ' read -r field1 field2; do
printf "[NONE]\n" printf "[NONE]\n"
fi fi
done <"$checksumFilename" done <"$checksumFilename"
fi
### display results ### display results
printf "\n%sResults:%s\n" "$info" "$norm" printf "\n%sResults:%s\n" "$info" "$norm"