diff options
Diffstat (limited to 'network/tntnet/doinst.sh')
-rw-r--r-- | network/tntnet/doinst.sh | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/network/tntnet/doinst.sh b/network/tntnet/doinst.sh index 6a3d11314c..8a616bc76c 100644 --- a/network/tntnet/doinst.sh +++ b/network/tntnet/doinst.sh @@ -11,17 +11,4 @@ config() { # Otherwise, we leave the .new copy for the admin to consider... } -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -config etc/tntnet/mime.conf.new -config etc/tntnet/tntnet.conf.new -preserve_perms etc/rc.d/rc.tntnet.new +config etc/tntnet/tntnet.xml.new |