Skip to content

Commit 78ad40b

Browse files
author
Kristan Kenney
committed
Fix: Incorrect IF statement for IMAP quota during upgrade
1 parent 57cbe55 commit 78ad40b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/upgrade/versions/latest.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ done
193193
chown root:root /var/log/$WEB_SYSTEM/domains/$WEBMAIL_ALIAS* > /dev/null 2>&1
194194

195195
# Enable IMAP/POP3 quota information
196-
if [ -z "$IMAP_SYSTEM" ]; then
196+
if [ "$IMAP_SYSTEM" = "dovecot" ]; then
197197
echo "(*) Enabling IMAP quota information reporting ..."
198198
if [ -e /etc/dovecot/conf.d/20-pop3.conf ]; then
199199
cp -f $HESTIA/install/deb/dovecot/conf.d/20-pop3.conf /etc/dovecot/conf.d/20-pop3.conf
@@ -209,7 +209,7 @@ fi
209209
# Trigger multiphp legacy migration script
210210
num_php_versions=$(ls -d /etc/php/*/fpm/pool.d 2>/dev/null |wc -l)
211211
if [ "$num_php_versions" -gt 1 ] && [ -z "$WEB_BACKEND" ]; then
212-
echo "(*) Migrate to new multiphp backend system..."
212+
echo "(*) Enabling modular Multi-PHP backend ..."
213213
cp -rf $HESTIA/data/templates/web $HESTIA_BACKUP/templates/web
214214
bash $HESTIA/install/upgrade/manual/migrate_multiphp.sh > /dev/null 2>&1
215215
fi

0 commit comments

Comments
 (0)