mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
removed the debug set -x
This commit is contained in:
@@ -178,9 +178,7 @@ else
|
||||
displaynotification "Downloading new $name" "Download in progress …"
|
||||
fi
|
||||
fi
|
||||
set -x
|
||||
if ! curl -fsL ${curlOptions} "$downloadURL" -o "$archiveName"; then
|
||||
set +x
|
||||
printlog "error downloading $downloadURL"
|
||||
message="$name update/installation failed. This will be logged, so IT can follow up."
|
||||
if [[ $currentUser != "loginwindow" && $NOTIFY == "all" ]]; then
|
||||
@@ -194,7 +192,7 @@ else
|
||||
cleanupAndExit 2
|
||||
fi
|
||||
fi
|
||||
set +x
|
||||
|
||||
# MARK: when user is logged in, and app is running, prompt user to quit app
|
||||
if [[ $BLOCKING_PROCESS_ACTION == "ignore" ]]; then
|
||||
printlog "ignoring blocking processes"
|
||||
|
||||
Reference in New Issue
Block a user