aboutsummaryrefslogtreecommitdiff
path: root/games/zelda-xd2-mercuris-chess/doinst.sh
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-08-24 07:23:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-24 07:23:32 +0700
commit85c0c5cf11271d29b2141c3d2745dc95dfc7ba6e (patch)
tree032c8d1ec6fd67e5588309c07c863781fdba450c /games/zelda-xd2-mercuris-chess/doinst.sh
parent4d1fce68801fb022fcf3597b5c6b5b6806bab981 (diff)
games/zelda-xd2-mercuris-chess: Added (Parodic Zelda fangame).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/zelda-xd2-mercuris-chess/doinst.sh')
-rw-r--r--games/zelda-xd2-mercuris-chess/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/zelda-xd2-mercuris-chess/doinst.sh b/games/zelda-xd2-mercuris-chess/doinst.sh
new file mode 100644
index 0000000000000..65c7e2eeb9aa5
--- /dev/null
+++ b/games/zelda-xd2-mercuris-chess/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi