Skip to content

Commit f74912f

Browse files
committed
Adjust installer to support 22.04 LTS.
1 parent 2439db3 commit f74912f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/hst-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Currently Supported Operating Systems:
1010
#
1111
# Debian 9, 10, 11
12-
# Ubuntu 18.04, 20.04
12+
# Ubuntu 18.04, 20.04, 22.04
1313
#
1414
# ======================================================== #
1515

@@ -66,7 +66,7 @@ no_support_message(){
6666
echo "Hestia Control Panel. Officially supported releases:"
6767
echo "****************************************************"
6868
echo " Debian 9, 10, 11"
69-
echo " Ubuntu 18.04, 20.04 LTS"
69+
echo " Ubuntu 18.04, 20.04, 22.04 LTS"
7070
echo ""
7171
exit 1;
7272
}
@@ -103,7 +103,7 @@ check_wget_curl(){
103103

104104
# Check for supported operating system before proceeding with download
105105
# of OS-specific installer, and throw error message if unsupported OS detected.
106-
if [[ "$release" =~ ^(9|10|11|18.04|20.04)$ ]]; then
106+
if [[ "$release" =~ ^(9|10|11|18.04|20.04|22.04)$ ]]; then
107107
check_wget_curl $*
108108
else
109109
no_support_message

0 commit comments

Comments
 (0)