Add dovecot directories
This commit is contained in:
parent
5a7b496de7
commit
183b528445
|
@ -5618,6 +5618,15 @@ function configure_imap {
|
|||
if grep -Fxq "configure_imap" $COMPLETION_FILE; then
|
||||
return
|
||||
fi
|
||||
|
||||
# add directories if needed
|
||||
if [ ! -d /usr/share/dovecot/protocols.d ]; then
|
||||
mkdir -p mkdir -p /usr/share/dovecot/protocols.d
|
||||
fi
|
||||
if [ ! -d /etc/dovecot/conf.d ]; then
|
||||
mkdir -p /etc/dovecot/conf.d
|
||||
fi
|
||||
|
||||
apt-get -y install dovecot-common dovecot-imapd
|
||||
|
||||
if [ ! -d /etc/dovecot ]; then
|
||||
|
|
Loading…
Reference in New Issue