version fix (#2285)

Signed-off-by: enoch85 <github@hanssonit.se>
This commit is contained in:
Daniel Hansson 2022-05-03 22:15:59 +02:00 committed by GitHub
parent bee9db5b5e
commit 6102f224f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

2
lib.sh
View File

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