diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index dd5811b4..d42078a7 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -742,11 +742,12 @@ class EEStackController(CementBaseController): "inc.php".format(password=rc_passwd)) # Sieve plugin configuration in roundcube - EEShellExec.cmd_exec(self, "sed -i \"s:\$config\['plugins'\] " + EEShellExec.cmd_exec(self, "bash -c \"sed -i \\\"s:\$config\[" + "\'plugins\'\] " "= array(:\$config\['plugins'\] = " - "array(\n'sieverules',:\" /var/www" + "array(\n\'sieverules\',:\\\" /var/www" "/roundcubemail/htdocs/config" - "/config.inc.php") + "/config.inc.php\"") EEShellExec.cmd_exec(self, "echo \"\$config['sieverules_port']" "=4190;\" >> /var/www/roundcubemail" "/htdocs/config/config.inc.php")