Skip to content

Commit d20e303

Browse files
author
Kristan Kenney
committed
Ubuntu 20.04 LTS support
1 parent caa9faa commit d20e303

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ What does Hestia Control Panel support?
4343
Supported operating systems:
4444
----------------------------
4545
* Debian 8, 9, 10
46-
* Ubuntu 16.04 LTS or Ubuntu 18.04 LTS (the latest LTS release is recommended)
46+
* Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, or Ubuntu 20.04 LTS (the latest LTS release is generally recommended)
4747
* **NOTE:** Hestia Control Panel must be installed on top of a fresh operating system installation to ensure proper functionality.
4848

4949
Installing Hestia Control Panel

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ if [ "$dovecot" = 'yes' ]; then
14221422
gpasswd -a dovecot mail > /dev/null 2>&1
14231423
cp -rf $HESTIA_INSTALL_DIR/dovecot /etc/
14241424
cp -f $HESTIA_INSTALL_DIR/logrotate/dovecot /etc/logrotate.d/
1425-
if [ "$release" = '18.04' ]; then
1425+
if [ "$release" = '18.04' ] || [ "$release" = '20.04' ]; then
14261426
rm -f /etc/dovecot/conf.d/15-mailboxes.conf
14271427
fi
14281428
chown -R root:root /etc/dovecot*

install/hst-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Currently Supported Operating Systems:
77
#
88
# Debian 8, 9, 10
9-
# Ubuntu 16.04, 18.04
9+
# Ubuntu 16.04, 18.04, 20.04
1010
#
1111

1212
# Am I root?
@@ -62,7 +62,7 @@ no_support_message(){
6262
echo "Hestia Control Panel. Officially supported releases:"
6363
echo "****************************************************"
6464
echo " Debian 8, 9, 10"
65-
echo " Ubuntu 16.04 LTS, 18.04 LTS"
65+
echo " Ubuntu 16.04 LTS, 18.04, 20.04 LTS"
6666
echo ""
6767
exit 1;
6868
}
@@ -99,7 +99,7 @@ check_wget_curl(){
9999

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

0 commit comments

Comments
 (0)