fix(helpers): exit update script after self update

This commit is contained in:
Asif Bacchus 2021-07-27 21:52:24 -06:00
parent 4456653f03
commit 2f1e21f79b
1 changed files with 1 additions and 0 deletions

View File

@ -196,6 +196,7 @@ if [ "$doScriptUpdate" -eq 1 ]; then
printf "\n%s*** This script has been updated. Please re-run it to load the updated version of this file. ***%s\n\n" "$warn" "$norm"
# overwrite this script with updated script
mv -f ./update.sh.tmp "$localScriptName"
exit 0
fi
fi
fi