summaryrefslogtreecommitdiff
path: root/games/gnonograms/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2014-02-20 22:02:23 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-21 14:41:03 -0600
commiteda39d7f73c10c3c6ce78b5e47bcc08be9ed5e70 (patch)
tree732025bee824aa01a98bf1b2f4178411d57e6593 /games/gnonograms/doinst.sh
parent42ef8bd55d4558299c53b1b5c4387d5353f1ffa4 (diff)
downloadslackbuilds-eda39d7f73c10c3c6ce78b5e47bcc08be9ed5e70.tar.gz
games/gnonograms: Added (Nonogram puzzle generator and solver).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/gnonograms/doinst.sh')
-rw-r--r--games/gnonograms/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/gnonograms/doinst.sh b/games/gnonograms/doinst.sh
new file mode 100644
index 0000000000..55ffe4859a
--- /dev/null
+++ b/games/gnonograms/doinst.sh
@@ -0,0 +1,13 @@
+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
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi