Browse Source

Update hst-install.sh file

Remove Debian 9 and add Ubuntu 22.04
Jaap Marcus 3 years ago
parent
commit
9d23c96de7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      install/hst-install.sh

+ 3 - 3
install/hst-install.sh

@@ -65,8 +65,8 @@ no_support_message(){
     echo "Your operating system (OS) is not supported by"
     echo "Hestia Control Panel. Officially supported releases:"
     echo "****************************************************"
-    echo "  Debian 9, 10, 11"
-    echo "  Ubuntu 18.04, 20.04 LTS"
+    echo "  Debian 10, 11"
+    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" =~ ^(10|11|18.04|20.04|22.04)$ ]]; then
     check_wget_curl $*
 else
     no_support_message