From 58724d95fa9eeea4f51db347d958211a1449412d Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sun, 10 Oct 2021 21:21:51 +0000 Subject: [PATCH] no debian 11 for now --- install.sh | 4 ++-- restore.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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