add noninteractive

This commit is contained in:
wh1te909 2024-04-25 22:03:22 +00:00
parent 168f053c6f
commit 8cfba49559
4 changed files with 11 additions and 3 deletions

View File

@ -2,6 +2,8 @@
SCRIPT_VERSION="32"
export DEBIAN_FRONTEND=noninteractive
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'

View File

@ -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

View File

@ -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

View File

@ -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