From 5780a66f7d66a8e008b3eae65848c224bc6e64b1 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Mon, 22 Feb 2021 10:05:46 +0000 Subject: [PATCH] fix python build from source --- update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index d943ce4f..ebbdd557 100644 --- a/update.sh +++ b/update.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT_VERSION="110" +SCRIPT_VERSION="111" SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/update.sh' LATEST_SETTINGS_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/api/tacticalrmm/tacticalrmm/settings.py' YELLOW='\033[1;33m' @@ -22,6 +22,8 @@ fi rm -f $TMP_FILE +sudo apt update + if [ $EUID -eq 0 ]; then echo -ne "\033[0;31mDo NOT run this script as root. Exiting.\e[0m\n" exit 1