aboutsummaryrefslogtreecommitdiff
path: root/games/zork/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-12-16 17:42:40 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:20 -0500
commit072a0aa9aa699dbd02b3f530ff95b66d0922ce0e (patch)
tree928bf2af81bd1c1c34d2084c17938f259211aeb1 /games/zork/doinst.sh
parent776358214ba0f1c9ee3a7d80990623fb4de24608 (diff)
downloadslackbuilds-072a0aa9aa699dbd02b3f530ff95b66d0922ce0e.tar.xz
games/zork: Added (interactive fiction games in z-code format)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/zork/doinst.sh')
-rw-r--r--games/zork/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/zork/doinst.sh b/games/zork/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/games/zork/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