1746035580
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
set -e # fail on error
|
||||
if [ -z "$1" ]; then
|
||||
message=`date +%s`
|
||||
else
|
||||
message="$@"
|
||||
fi
|
||||
|
||||
git add .
|
||||
git commit -m "$message"
|
||||
git push
|
||||
+16
-2
@@ -603,6 +603,22 @@ elif [[ "$arg" == "cron" || "$arg" == "c" ]]; then # full install with warn, sle
|
||||
|
||||
exit
|
||||
|
||||
elif [[ "$arg" == "update" || "$arg" == "u" ]]; then # update without logouts or reboot
|
||||
action="UPDATE"
|
||||
# sleepMins=3
|
||||
idfGet="update"
|
||||
sleepMins=0
|
||||
|
||||
handleStart
|
||||
handleClearInstallLog
|
||||
handleSetupEnvironment
|
||||
handleCustomBins
|
||||
handleDownloadInstall
|
||||
handleExport
|
||||
handleEnd
|
||||
|
||||
exit
|
||||
|
||||
elif [[ "$arg" == "clearlogs" || "$arg" == "cl" || "$arg" == "clear" || "$arg" == "clean" ]]; then # clear logs
|
||||
handleEmptyLogs
|
||||
|
||||
@@ -612,8 +628,6 @@ elif [[ "$arg" == "nuke" || "$arg" == "n" ]]; then # clear logs
|
||||
action="REINSTALL (NUKE)"
|
||||
idfGet="download"
|
||||
|
||||
|
||||
|
||||
handleStart
|
||||
handleClearInstallLog
|
||||
handleSetupEnvironment
|
||||
|
||||
Reference in New Issue
Block a user