File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2014,7 +2014,7 @@ if [ "$sieve" = 'yes' ]; then
20142014 chmod 751 -R $RC_CONFIG_DIR
20152015 chmod 644 $RC_CONFIG_DIR /* .php
20162016 chmod 644 $RC_CONFIG_DIR /plugins/managesieve/config.inc.php
2017- sed -i " s/' archive'/' archive', ' managesieve' /g" $RC_CONFIG_DIR /config.inc.php
2017+ sed -i " s/\" archive\" / \" archive\" , \" managesieve\" /g" $RC_CONFIG_DIR /config.inc.php
20182018 fi
20192019
20202020 # Restart Dovecot and exim4
Original file line number Diff line number Diff line change @@ -1994,7 +1994,7 @@ if [ "$sieve" = 'yes' ]; then
19941994 chmod 751 -R $RC_CONFIG_DIR
19951995 chmod 644 $RC_CONFIG_DIR /* .php
19961996 chmod 644 $RC_CONFIG_DIR /plugins/managesieve/config.inc.php
1997- sed -i " s/' archive'/' archive', ' managesieve' /g" $RC_CONFIG_DIR /config.inc.php
1997+ sed -i " s/\" archive\" / \" archive\" , \" managesieve\" /g" $RC_CONFIG_DIR /config.inc.php
19981998 fi
19991999
20002000 # Restart Dovecot and exim4
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ if [ "$HAS_DOVECOT_SIEVE_INSTALLED" = "0" ]; then
8080
8181 chmod 644 $RC_CONFIG_DIR /plugins/managesieve/config.inc.php
8282
83- sed -i " s/' archive'/' archive', ' managesieve' /g" $RC_CONFIG_DIR /config.inc.php
83+ sed -i " s/\" archive\" / \" archive\" , \" managesieve\" /g" $RC_CONFIG_DIR /config.inc.php
8484
8585 # restart dovecot and exim4
8686 systemctl restart dovecot > /dev/null 2>&1
118118 # Roundcube
119119 rm -f -r $RC_CONFIG_DIR /plugins/managesieve
120120 rm -f $RC_INSTALL_DIR /plugins/managesieve/config.inc.php
121- sed -i " s/' archive', ' managesieve'/' archive' /g" $RC_CONFIG_DIR /config.inc.php
121+ sed -i " s/\" archive\" , \" managesieve\" / \" archive\" /g" $RC_CONFIG_DIR /config.inc.php
122122
123123 # restart dovecot and exim4
124124 systemctl restart dovecot > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments