1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00
# Conflicts:
#	setup/webmail.sh
This commit is contained in:
downtownallday
2022-01-11 09:52:34 -05:00
9 changed files with 84 additions and 29 deletions

View File

@@ -50,6 +50,11 @@ configure_roundcube() {
# regular expressions is like above
sed -i 's/\(['"'"'"]readonly['"'"'"][ \t]*=>[ \t]*\)false/\1true/' ${RCM_PLUGIN_DIR}/carddav/config.inc.php
# c. add 'rediscover_mode' => 'none'
if ! grep -F 'rediscover_mode' ${RCM_PLUGIN_DIR}/carddav/config.inc.php >/dev/null; then
sed -i 's/^\([ \t]*['"'"'"]readonly['"'"'"][ \t]*=>.*\)$/\1\n\t '\''rediscover_mode'\'' => '\''none'\'',/' ${RCM_PLUGIN_DIR}/carddav/config.inc.php
fi
#
# 2. add the remote Nextcloud
#