summaryrefslogtreecommitdiffstats
path: root/network/dovecot/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/dovecot/doinst.sh')
-rw-r--r--network/dovecot/doinst.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/dovecot/doinst.sh b/network/dovecot/doinst.sh
index f39fc6ebd4..03c21fc848 100644
--- a/network/dovecot/doinst.sh
+++ b/network/dovecot/doinst.sh
@@ -10,6 +10,7 @@ config() {
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
+
preserve_perms() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
@@ -20,5 +21,6 @@ preserve_perms() {
fi
config $NEW
}
+
preserve_perms etc/rc.d/rc.dovecot.new