Browse Source

roundcube pear

master
Prabuddha Chakraborty 9 years ago
parent
commit
e9e08cdea6
  1. 4
      ee/cli/plugins/stack.py
  2. 4
      ee/core/variables.py

4
ee/cli/plugins/stack.py

@ -1912,7 +1912,7 @@ class EEStackController(CementBaseController):
#Fix pear install config for trusty
if EEVariables.ee_platform_codename == 'trusty':
EEShellExec.cmd_exec(self, "pear config-set php_dir /lib/php/pear")
EEShellExec.cmd_exec(self, "pear config-set php_dir /usr/share/php")
EEShellExec.cmd_exec(self, "pear config-set doc_dir /lib/php/pear/docs")
EEShellExec.cmd_exec(self, "pear config-set cfg_dir /lib/php/pear/cfg")
EEShellExec.cmd_exec(self, "pear config-set data_dir /lib/php/pear/data")
@ -1923,6 +1923,8 @@ class EEStackController(CementBaseController):
" Mail_mimeDecode Net_IDNA2-beta "
"Auth_SASL Net_Sieve Crypt_GPG")
# pear install Mail_Mime Net_SMTP Mail_mimeDecode Net_IDNA2-beta Auth_SASL Net_Sieve Crypt_GPG
# Configure roundcube database
rc_passwd = ''.join(random.sample(string.ascii_letters, 8))
Log.debug(self, "Creating Database roundcubemail")

4
ee/core/variables.py

@ -168,12 +168,12 @@ class EEVariables():
ee_mail = ["dovecot-core", "dovecot-imapd", "dovecot-pop3d",
"dovecot-lmtpd", "dovecot-mysql", "dovecot-sieve",
"dovecot-managesieved", "postfix-mysql", "php5-cgi",
"php-gettext", "php-pear", "subversion"]
"php-gettext", "php-pear"]
else:
ee_mail = ["dovecot-core", "dovecot-imapd", "dovecot-pop3d",
"dovecot-lmtpd", "dovecot-mysql", "dovecot-sieve",
"dovecot-managesieved", "postfix-mysql", "php5.6-cgi",
"php-gettext", "php-pear"]
"php-gettext", "php-pear", "subversion"]
# Mailscanner repo and packages
ee_mailscanner_repo = ()

Loading…
Cancel
Save