Skip to content

Commit c444783

Browse files
committed
Fix roundcube issue
1 parent 4d42e5d commit c444783

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ee/cli/plugins/stack.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1910,6 +1910,14 @@ def post_pref(self, apt_packages, packages):
19101910
'{0}roundcubemail/htdocs'
19111911
.format(EEVariables.ee_webroot))
19121912

1913+
#Fix pear install config for trusty
1914+
if EEVariables.ee_platform_codename == 'trusty':
1915+
EEShellExec.cmd_exec(self, "pear config-set php_dir /lib/php/pear")
1916+
EEShellExec.cmd_exec(self, "pear config-set doc_dir /lib/php/pear/docs")
1917+
EEShellExec.cmd_exec(self, "pear config-set cfg_dir /lib/php/pear/cfg")
1918+
EEShellExec.cmd_exec(self, "pear config-set data_dir /lib/php/pear/data")
1919+
EEShellExec.cmd_exec(self, "pear config-set test_dir /lib/php/pear/tests")
1920+
EEShellExec.cmd_exec(self, "pear config-set www_dir /lib/php/pear/www")
19131921
# Install Roundcube depednet pear packages
19141922
EEShellExec.cmd_exec(self, "pear install Mail_Mime Net_SMTP"
19151923
" Mail_mimeDecode Net_IDNA2-beta "

0 commit comments

Comments
 (0)