diff --git a/install.sh b/install.sh index ab7f815c..66689bb3 100644 --- a/install.sh +++ b/install.sh @@ -40,11 +40,11 @@ fi # determine system -if ([ "$osname" = "ubuntu" ] && [ "$fullrelno" = "20.04" ]) || ([ "$osname" = "debian" ] && [ $relno -ge 10 ]); then +if ([ "$osname" = "ubuntu" ] && [ "$fullrelno" = "20.04" ]) || ([ "$osname" = "debian" ] && [ $relno -eq 10 ]); then echo $fullrel else echo $fullrel - echo -ne "${RED}Only Ubuntu release 20.04 and Debian 10 and later, are supported\n" + echo -ne "${RED}Only Ubuntu release 20.04 and Debian 10 are supported\n" echo -ne "Your system does not appear to be supported${NC}\n" exit 1 fi diff --git a/restore.sh b/restore.sh index 97aebf45..8c99b4b2 100755 --- a/restore.sh +++ b/restore.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT_VERSION="30" +SCRIPT_VERSION="31" SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/restore.sh' sudo apt update @@ -39,11 +39,11 @@ if [ ! "$osname" = "ubuntu" ] && [ ! "$osname" = "debian" ]; then fi # determine system -if ([ "$osname" = "ubuntu" ] && [ "$fullrelno" = "20.04" ]) || ([ "$osname" = "debian" ] && [ $relno -ge 10 ]); then +if ([ "$osname" = "ubuntu" ] && [ "$fullrelno" = "20.04" ]) || ([ "$osname" = "debian" ] && [ $relno -eq 10 ]); then echo $fullrel else echo $fullrel - echo -ne "${RED}Only Ubuntu release 20.04 and Debian 10 and later, are supported\n" + echo -ne "${RED}Only Ubuntu release 20.04 and Debian 10 are supported\n" echo -ne "Your system does not appear to be supported${NC}\n" exit 1 fi