feature(HELPERSCRIPTS): add conditionality to script update
This commit is contained in:
parent
7e96583455
commit
cbaadc40c4
@ -122,7 +122,8 @@ fi
|
||||
|
||||
|
||||
### 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
|
||||
printf "Getting latest checksums... "
|
||||
@ -209,7 +210,7 @@ while IFS=' ' read -r field1 field2; do
|
||||
printf "[NONE]\n"
|
||||
fi
|
||||
done <"$checksumFilename"
|
||||
|
||||
fi
|
||||
|
||||
### display results
|
||||
printf "\n%sResults:%s\n" "$info" "$norm"
|
||||
|
Loading…
Reference in New Issue
Block a user