Skip to content

Commit 5fb5e2c

Browse files
author
Kristan Kenney
committed
Do not overwrite existing webmail alias during upgrade
1 parent 4fa0eef commit 5fb5e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade/0.10.0-190430.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ HESTIA_BACKUP="/root/hst_upgrade/$(date +%d%m%Y%H%M)"
66
hestiacp="$HESTIA/install/deb"
77

88
# Add webmail alias variable to system configuration if non-existent
9-
webmail_alias_check=$(cat $HESTIA/conf/hestia.conf | grep WEBMAIL_ALIAS)
9+
WEBMAIL_ALIAS_CHECK=$(cat $HESTIA/conf/hestia.conf | grep WEBMAIL_ALIAS)
1010
if [ -z "$WEBMAIL_ALIAS_CHECK" ]; then
1111
echo "(*) Adding global webmail alias to system configuration..."
1212
sed -i "/WEBMAIL_ALIAS/d" $HESTIA/conf/hestia.conf

0 commit comments

Comments
 (0)