Browse Source

Adjust installer to support 22.04 LTS.

Raphael Schneeberger 3 years ago
parent
commit
f74912f6f2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      install/hst-install.sh

+ 3 - 3
install/hst-install.sh

@@ -9,7 +9,7 @@
 # Currently Supported Operating Systems:
 #
 # Debian 9, 10, 11
-# Ubuntu 18.04, 20.04
+# Ubuntu 18.04, 20.04, 22.04
 #
 # ======================================================== #
 
@@ -66,7 +66,7 @@ no_support_message(){
     echo "Hestia Control Panel. Officially supported releases:"
     echo "****************************************************"
     echo "  Debian 9, 10, 11"
-    echo "  Ubuntu 18.04, 20.04 LTS"
+    echo "  Ubuntu 18.04, 20.04, 22.04 LTS"
     echo ""
     exit 1;
 }
@@ -103,7 +103,7 @@ check_wget_curl(){
 
 # Check for supported operating system before proceeding with download
 # of OS-specific installer, and throw error message if unsupported OS detected.
-if [[ "$release" =~ ^(9|10|11|18.04|20.04)$ ]]; then
+if [[ "$release" =~ ^(9|10|11|18.04|20.04|22.04)$ ]]; then
     check_wget_curl $*
 else
     no_support_message