1 2 3 4 5 6 7 8 9 10
#!/bin/sh cd /usr/share/doc/dovecot/example-config || exit 0 for i in dovecot.conf conf.d/*; do if ! [ -e /etc/dovecot/$i ]; then cp $i /etc/dovecot/$i fi done