Skip to content

Commit f5603eb

Browse files
authored
feat: update os check script to support Ubuntu 24.04 (hestiacp#4483)
* feat: update os check to support Ubuntu 24.04
1 parent e4b278f commit f5603eb

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 10, 11, 12
12-
# Ubuntu 20.04, 22.04
12+
# Ubuntu 20.04, 22.04, 24.04 LTS
1313
#
1414
# ======================================================== #
1515

@@ -81,7 +81,7 @@ no_support_message() {
8181
echo "Hestia Control Panel. Officially supported releases:"
8282
echo "****************************************************"
8383
echo " Debian 10, 11, 12"
84-
echo " Ubuntu 20.04, 22.04 LTS"
84+
echo " Ubuntu 20.04, 22.04, 24.04 LTS"
8585
# Commenting this out for now
8686
# echo " AlmaLinux, EuroLinux, Red Hat EnterPrise Linux, Rocky Linux 8,9"
8787
echo ""
@@ -142,7 +142,7 @@ check_wget_curl() {
142142

143143
# Check for supported operating system before proceeding with download
144144
# of OS-specific installer, and throw error message if unsupported OS detected.
145-
if [[ "$release" =~ ^(10|11|12|20.04|22.04)$ ]]; then
145+
if [[ "$release" =~ ^(10|11|12|20.04|22.04|24.04)$ ]]; then
146146
check_wget_curl $*
147147
elif [[ -e "/etc/redhat-release" ]] && [[ "$release" =~ ^(8|9)$ ]]; then
148148
check_wget_curl $*

0 commit comments

Comments
 (0)