aboutsummaryrefslogtreecommitdiff
path: root/games/noteye/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-11-15 17:26:13 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-04 10:08:55 +0700
commit5437d1ffdaccdee7c401fb599d2359710410521f (patch)
treec171b9c83c779abf6f068e5fe9ff7f98f84bb598 /games/noteye/doinst.sh
parent9be4a33425f8f6952a45a8edfd7ddef1575ff071 (diff)
games/noteye: Updated for version 8.4.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/noteye/doinst.sh')
-rw-r--r--games/noteye/doinst.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/games/noteye/doinst.sh b/games/noteye/doinst.sh
index 9fa0d8b3fa6d0..3e5691a052b5b 100644
--- a/games/noteye/doinst.sh
+++ b/games/noteye/doinst.sh
@@ -1,13 +1,9 @@
-
-# create empty high score file only if there isn't one
-if [ ! -e var/games/hydrascores.sav ]; then
- touch var/games/hydrascores.sav
-fi
-
-# always reset perms/ownership
-chmod 660 var/games/hydrascores.sav
-chown root:games var/games/hydrascores.sav
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi