Browse Source

Add dovecot directories

Bob Mottram 10 years ago
parent
commit
183b528445
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      src/freedombone

+ 9
- 0
src/freedombone View File

5618
   if grep -Fxq "configure_imap" $COMPLETION_FILE; then
5618
   if grep -Fxq "configure_imap" $COMPLETION_FILE; then
5619
       return
5619
       return
5620
   fi
5620
   fi
5621
+
5622
+  # add directories if needed
5623
+  if [ ! -d /usr/share/dovecot/protocols.d ]; then
5624
+      mkdir -p mkdir -p /usr/share/dovecot/protocols.d
5625
+  fi
5626
+  if [ ! -d /etc/dovecot/conf.d ]; then
5627
+      mkdir -p /etc/dovecot/conf.d
5628
+  fi
5629
+
5621
   apt-get -y install dovecot-common dovecot-imapd
5630
   apt-get -y install dovecot-common dovecot-imapd
5622
 
5631
 
5623
   if [ ! -d /etc/dovecot ]; then
5632
   if [ ! -d /etc/dovecot ]; then