aboutsummaryrefslogtreecommitdiff
path: root/games/nevernoid/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-25 16:22:55 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:24 +0700
commit8ca966109ccf2020a3d06f2bd1f1feed7b799a85 (patch)
tree52b050153957641be83b96b61831c5b560cfe472 /games/nevernoid/doinst.sh
parent6044dfe2442b2e22f7ad23b3ae4fe46e57bb46dc (diff)
games/nevernoid: New-style icons.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/nevernoid/doinst.sh')
-rw-r--r--games/nevernoid/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/nevernoid/doinst.sh b/games/nevernoid/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/games/nevernoid/doinst.sh
@@ -0,0 +1,9 @@
+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