diff options
Diffstat (limited to 'games/zoom/doinst.sh')
-rw-r--r-- | games/zoom/doinst.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/games/zoom/doinst.sh b/games/zoom/doinst.sh index 5318469e28..860ac30217 100644 --- a/games/zoom/doinst.sh +++ b/games/zoom/doinst.sh @@ -1,17 +1,14 @@ 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... } -config usr/share/zoom/zoomrc.new +config etc/zoom/zoomrc.new if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 |