Add debug mode 2

Restores functionality of running script as a non-root user for testing purposes.
Resolves issue #88
This commit is contained in:
Sam Ess
2021-10-16 18:46:36 -04:00
parent cbb1e08e26
commit b6bc0b1269
3 changed files with 29 additions and 29 deletions

View File

@@ -20,9 +20,11 @@ export PATH=/usr/bin:/bin:/usr/sbin:/sbin
# NOTE: adjust these variables:
# set to 0 for production, 1 for debugging
# set to 0 for production, 1 or 2 for debugging
# while debugging, items will be downloaded to the parent directory of this script
# also no actual installation will be performed
# debug mode 1 will download to the directory the script is run in, but will not check version
# debug mode 2 will download to the temp directory, check for blocking processes, check version, but will not install anything or remove the current version
DEBUG=1
# notify behavior