summaryrefslogtreecommitdiffstats
path: root/games/noteye/doinst.sh
diff options
context:
space:
mode:
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 9fa0d8b3fa..3e5691a052 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