aboutsummaryrefslogtreecommitdiffstats
path: root/main/dovecot/dovecot-sample-config.post-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-27 13:10:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-30 06:37:17 +0000
commit1d69af069303418a509ee137419e8f417bbcce24 (patch)
treeeca4db38a00a23f6a879da7b45c2677dd60b009a /main/dovecot/dovecot-sample-config.post-install
parentf6ad56cf5e99a98dc23c955145e7beeee39094a1 (diff)
downloadaports-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-install10
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
+