Преглед изворни кода

Fix old Apache configuration file location

Alexandros Ioannides пре 6 година
родитељ
комит
62d5076eb3
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      install/upgrade/versions/latest.sh

+ 3 - 3
install/upgrade/versions/latest.sh

@@ -55,8 +55,8 @@ if [ ! -z "$WEBALIZER_CHECK" ]; then
 fi
 
 # Remove old hestia.conf files from Apache & NGINX if they exist
-if [ -f "/etc/nginx/conf.d/hestia.conf" ]; then
-    echo "(*) Removing Apache configuration file from previous version of Hestia Control Panel..."
+if [ -f "/etc/apache2/conf.d/hestia.conf" ]; then
+    echo "(*) Removing old Apache configuration file from previous version of Hestia Control Panel..."
     rm -f /etc/apache2/conf.d/hestia.conf
 fi
 if [ -f "/etc/nginx/conf.d/hestia.conf" ]; then
@@ -75,4 +75,4 @@ fi
 if [ ! -z "$IMAP_SYSTEM" ]; then
     echo "(*) Enabling OCSP stapling support for webmail services..."
     $BIN/v-update-mail-templates > /dev/null 2>&1
-fi 
+fi