From 6102f224f85b328eb6ef0327ee242cf06746960a Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Tue, 3 May 2022 22:15:59 +0200 Subject: [PATCH] version fix (#2285) Signed-off-by: enoch85 --- apps/talk.sh | 2 +- lib.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/talk.sh b/apps/talk.sh index 8f185abf..ce76ac2a 100644 --- a/apps/talk.sh +++ b/apps/talk.sh @@ -68,7 +68,7 @@ fi # Must be 22.04 if ! version 20.04 "$DISTRO" 22.04.10 then - msg_box "Your current Ubuntu version is $DISTRO but must be between 20.04 - 20.04.10 to install Talk" + msg_box "Your current Ubuntu version is $DISTRO but must be between 20.04 - 22.04.10 to install Talk" msg_box "Please contact us to get support for upgrading your server: https://www.hanssonit.se/#contact https://shop.hanssonit.se/" diff --git a/lib.sh b/lib.sh index 7f9c5294..0f1459b8 100644 --- a/lib.sh +++ b/lib.sh @@ -1050,7 +1050,7 @@ You can find the download link here: https://www.ubuntu.com/download/server" exit 1 fi -if ! version 20.04.10 "$DISTRO" 22.04.10; then +if ! version 20.04 "$DISTRO" 22.04.10; then msg_box "Your current Ubuntu version is $DISTRO but must be between 20.04 - 22.04.10 to run this script." msg_box "Please contact us to get support for upgrading your server: https://www.hanssonit.se/#contact