summaryrefslogtreecommitdiffstats
path: root/main/dovecot/dovecot-sample-config.post-install
blob: 7f1a204fabc8e6366994573bc85f5026f4b91343 (plain)
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