Skip to content

Commit 62d5076

Browse files
Fix old Apache configuration file location
1 parent 87a3487 commit 62d5076

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/upgrade/versions/latest.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ if [ ! -z "$WEBALIZER_CHECK" ]; then
5555
fi
5656

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

0 commit comments

Comments
 (0)