diff --git a/backup.sh b/backup.sh index 6f6a6f56..f1f50efc 100755 --- a/backup.sh +++ b/backup.sh @@ -2,6 +2,8 @@ SCRIPT_VERSION="32" +export DEBIAN_FRONTEND=noninteractive + GREEN='\033[0;32m' YELLOW='\033[1;33m' BLUE='\033[0;34m' diff --git a/install.sh b/install.sh index b4f21793..2436561c 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -SCRIPT_VERSION="83" +SCRIPT_VERSION="84" SCRIPT_URL="https://raw.githubusercontent.com/amidaware/tacticalrmm/master/install.sh" sudo apt install -y curl wget dirmngr gnupg lsb-release ca-certificates @@ -33,6 +33,8 @@ fi rm -f $TMP_FILE +export DEBIAN_FRONTEND=noninteractive + if [ -d /rmm/api/tacticalrmm ]; then echo -ne "${RED}ERROR: Existing trmm installation found. The install script must be run on a clean server.${NC}\n" exit 1 diff --git a/restore.sh b/restore.sh index fc9b4528..5bf5669e 100755 --- a/restore.sh +++ b/restore.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -SCRIPT_VERSION="57" +SCRIPT_VERSION="58" SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/restore.sh' sudo apt update @@ -29,6 +29,8 @@ fi rm -f $TMP_FILE +export DEBIAN_FRONTEND=noninteractive + if [ -d /rmm/api/tacticalrmm ]; then echo -ne "${RED}ERROR: Existing trmm installation found. The restore script must be run on a clean server, please re-read the docs.${NC}\n" exit 1 diff --git a/update.sh b/update.sh index fd67c37c..c27eac73 100644 --- a/update.sh +++ b/update.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -SCRIPT_VERSION="152" +SCRIPT_VERSION="153" SCRIPT_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/update.sh' LATEST_SETTINGS_URL='https://raw.githubusercontent.com/amidaware/tacticalrmm/master/api/tacticalrmm/tacticalrmm/settings.py' YELLOW='\033[1;33m' @@ -26,6 +26,8 @@ fi rm -f $TMP_FILE +export DEBIAN_FRONTEND=noninteractive + force=false if [[ $* == *--force* ]]; then force=true