summaryrefslogtreecommitdiff
path: root/network/tor/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/tor/doinst.sh')
-rw-r--r--network/tor/doinst.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/tor/doinst.sh b/network/tor/doinst.sh
index 741db0277f..58bece12c8 100644
--- a/network/tor/doinst.sh
+++ b/network/tor/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)"
@@ -25,3 +26,4 @@ preserve_perms etc/rc.d/rc.tor.new
config etc/tor/tor-tsocks.conf.new
config etc/tor/torrc.new
config etc/logrotate.d/tor.new
+