diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-27 13:10:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-30 06:37:17 +0000 |
commit | 1d69af069303418a509ee137419e8f417bbcce24 (patch) | |
tree | eca4db38a00a23f6a879da7b45c2677dd60b009a /main/dovecot/dovecot-sample-config.post-install | |
parent | f6ad56cf5e99a98dc23c955145e7beeee39094a1 (diff) | |
download | aports-1d69af069303418a509ee137419e8f417bbcce24.tar.bz2 aports-1d69af069303418a509ee137419e8f417bbcce24.tar.xz |
main/dovecot: upgrade to 2.0.1
Diffstat (limited to 'main/dovecot/dovecot-sample-config.post-install')
-rw-r--r-- | main/dovecot/dovecot-sample-config.post-install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/main/dovecot/dovecot-sample-config.post-install b/main/dovecot/dovecot-sample-config.post-install new file mode 100644 index 0000000000..7f1a204fab --- /dev/null +++ b/main/dovecot/dovecot-sample-config.post-install @@ -0,0 +1,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 + |