refactor(HELPERSCRIPTS): remove restart option

- cannot account for all possible custom configurations
- restart should be manual
This commit is contained in:
Asif Bacchus 2021-01-15 05:40:42 -07:00
parent d29bff3324
commit cb794e755f
1 changed files with 1 additions and 5 deletions

View File

@ -61,7 +61,6 @@ checksumFilename='checksums.sha256'
# operation triggers
doDockerUpdate=1
doScriptUpdate=1
doContainerRestart=1
# files to update
localScriptName="$(basename "$0")"
@ -84,10 +83,6 @@ while [ $# -gt 0 ]; do
# update docker container only, skip script update
doScriptUpdate=0
;;
--no-restart)
# do not restart container automatically
doContainerRestart=0
;;
*)
printf "%s\nUnknown option: %s\n" "$err" "$1"
printf "%sUse '--help' for valid options%s\n\n" "$info" "$norm"
@ -212,6 +207,7 @@ if [ "$doScriptUpdate" -eq 1 ]; then
done <"$checksumFilename"
fi
### display results
printf "\n%s*** Results ***%s\n" "$info" "$norm"
printf "\tUpdates: %s available\n" "$updatesAvailable"