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