Browse Source

Adding Dovecot installtion to log file

bugfixes
gau1991 10 years ago
parent
commit
feac2d0d1f
  1. 5
      src/modules/stack/install/mail/ee_mod_install_dovecot.sh

5
src/modules/stack/install/mail/ee_mod_install_dovecot.sh

@ -11,12 +11,13 @@ function ee_mod_install_dovecot()
debconf-set-selections <<< "dovecot-core dovecot-core/create-ssl-cert boolean yes"
debconf-set-selections <<< "dovecot-core dovecot-core/ssl-cert-name string $(hostname -f)"
# 2>&1 is needed as config file is written in STDEER
# Debian 6 doesn't provide Dovecot 2.x
if [ "$EE_DEBIAN_VERSION" == "squeeze" ]; then
$EE_APT_GET -t squeeze-backports install dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-mysql dovecot-sieve dovecot-managesieved \
$EE_APT_GET -t squeeze-backports install dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-mysql dovecot-sieve dovecot-managesieved 2>&1 \
|| ee_lib_error "Unable to install Dovecot, exit status = " $?
else
$EE_APT_GET install dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-mysql dovecot-sieve dovecot-managesieved \
$EE_APT_GET install dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-mysql dovecot-sieve dovecot-managesieved 2>&1 \
|| ee_lib_error "Unable to install Dovecot, exit status = " $?
fi

Loading…
Cancel
Save