diff options
Diffstat (limited to 'games/vbam/doinst.sh')
-rw-r--r-- | games/vbam/doinst.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/games/vbam/doinst.sh b/games/vbam/doinst.sh index 1e7838b341814..3e5691a052b5b 100644 --- a/games/vbam/doinst.sh +++ b/games/vbam/doinst.sh @@ -1,16 +1,3 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi @@ -20,6 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 fi fi - -config etc/vbam.cfg.new - |