Browse Source

Ubuntu 20.04 LTS support

Kristan Kenney 6 years ago
parent
commit
d20e303aef
3 changed files with 5 additions and 5 deletions
  1. 1 1
      README.md
  2. 1 1
      install/hst-install-ubuntu.sh
  3. 3 3
      install/hst-install.sh

+ 1 - 1
README.md

@@ -43,7 +43,7 @@ What does Hestia Control Panel support?
 Supported operating systems:
 ----------------------------
 * Debian 8, 9, 10
-* Ubuntu 16.04 LTS or Ubuntu 18.04 LTS (the latest LTS release is recommended)
+* Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, or Ubuntu 20.04 LTS (the latest LTS release is generally recommended)
 * **NOTE:** Hestia Control Panel must be installed on top of a fresh operating system installation to ensure proper functionality.
 
 Installing Hestia Control Panel

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -1422,7 +1422,7 @@ if [ "$dovecot" = 'yes' ]; then
     gpasswd -a dovecot mail > /dev/null 2>&1
     cp -rf $HESTIA_INSTALL_DIR/dovecot /etc/
     cp -f $HESTIA_INSTALL_DIR/logrotate/dovecot /etc/logrotate.d/
-    if [ "$release" = '18.04' ]; then
+    if [ "$release" = '18.04' ] || [ "$release" = '20.04' ]; then
         rm -f /etc/dovecot/conf.d/15-mailboxes.conf
     fi
     chown -R root:root /etc/dovecot*

+ 3 - 3
install/hst-install.sh

@@ -6,7 +6,7 @@
 # Currently Supported Operating Systems:
 #
 #   Debian 8, 9, 10
-#   Ubuntu 16.04, 18.04
+#   Ubuntu 16.04, 18.04, 20.04
 #
 
 # Am I root?
@@ -62,7 +62,7 @@ no_support_message(){
     echo "Hestia Control Panel. Officially supported releases:"
     echo "****************************************************"
     echo "  Debian 8, 9, 10"
-    echo "  Ubuntu 16.04 LTS, 18.04 LTS"
+    echo "  Ubuntu 16.04 LTS, 18.04, 20.04 LTS"
     echo ""
     exit 1;
 }
@@ -99,7 +99,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" =~ ^(8|9|10|16.04|18.04)$ ]]; then
+if [[ "$release" =~ ^(8|9|10|16.04|18.04|20.04)$ ]]; then
     check_wget_curl $*
 else
     no_support_message