aboutsummaryrefslogtreecommitdiff
path: root/games/zoom/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-11 20:51:43 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:42 +0700
commit8e4083e4833bdcfacdb8d3a70d6f346b4b95fb5d (patch)
tree6b007d4f5871f68e0695ac87e043e4f3102b66c7 /games/zoom/doinst.sh
parenta19c2e14dd3a331707f8bdba8660c9334d80e123 (diff)
games/zoom: Bugfix patches, new icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/zoom/doinst.sh')
-rw-r--r--games/zoom/doinst.sh5
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