diff options
Diffstat (limited to 'games/nuvie/doinst.sh')
-rw-r--r-- | games/nuvie/doinst.sh | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/games/nuvie/doinst.sh b/games/nuvie/doinst.sh index c04144bca4350..41d461d4d201e 100644 --- a/games/nuvie/doinst.sh +++ b/games/nuvie/doinst.sh @@ -21,15 +21,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 -} - -preserve_perms usr/share/nuvie/nuvie.cfg.new +config usr/share/nuvie/nuvie.cfg.new |