Skip to content

Commit 95a20a8

Browse files
committed
Fix bug where template got switched to disabled
1 parent 37ecd39 commit 95a20a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-add-mail-domain-ssl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fi
7878
# Call routine to add SSL configuration to mail domain
7979
add_mail_ssl_config
8080

81-
if [ "$webmail" == "roundcube" ]; then
81+
if [ "$WEBMAIL" == "roundcube" ]; then
8282
WEBMAIL_TEMPLATE="default"
8383
if [ ! -z "$PROXY_SYSTEM" ]; then
8484
PROXY_TEMPLATE="default"
@@ -88,7 +88,7 @@ if [ "$webmail" == "roundcube" ]; then
8888
if [ "$WEB_SYSTEM" = "nginx" ]; then
8989
WEBMAIL_TEMPLATE="web_system"
9090
fi
91-
elif [ "$webmail" == "rainloop" ]; then
91+
elif [ "$WEBMAIL" == "rainloop" ]; then
9292
WEBMAIL_TEMPLATE="rainloop"
9393
if [ ! -z "$PROXY_SYSTEM" ]; then
9494
PROXY_TEMPLATE="default_rainloop"

0 commit comments

Comments
 (0)