File tree Expand file tree Collapse file tree 2 files changed +7
-19
lines changed
Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -174,13 +174,16 @@ if [ -f /etc/dovecot/dovecot.conf ]; then
174174fi
175175
176176# Update Roundcube webmail configuration
177- if [ -f /etc/apache2/conf.d/webmail .conf ]; then
177+ if [ -f /etc/apache2/conf.d/roundcube .conf ]; then
178178 echo " (*) Updating Roundcube global subdomain configuration for apache2..."
179- cp -f $HESTIA /install/deb/roundcube/apache.conf /etc/apache2/conf.d/roundcube.conf.conf
179+ cp -f $HESTIA /install/deb/roundcube/apache.conf /etc/apache2/conf.d/roundcube.conf
180180fi
181- if [ -f /etc/nginx/conf.d/webmail.inc ]; then
181+
182+ if [ ! -z " $PROXY_SYSTEM " ]; then
182183 echo " (*) Updating Roundcube global subdomain configuration for nginx..."
183- rm -f /etc/nginx/conf.d/webmail.inc
184+ if [ -f /etc/nginx/conf.d/webmail.inc ]; then
185+ rm -f /etc/nginx/conf.d/webmail.inc
186+ fi
184187 cp -f $HESTIA /install/deb/nginx/webmail.conf /etc/nginx/conf.d/webmail.conf
185188fi
186189
You can’t perform that action at this time.
0 commit comments