summaryrefslogtreecommitdiff
path: root/games/dopewars/doinst.sh
diff options
context:
space:
mode:
authorFernando Giannasi <phoemur@gmail.com>2013-10-20 19:48:45 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2013-10-23 12:17:45 +0200
commit803008f8e927b15d1e9f63d43c8df8707422a33a (patch)
treee94a91c1bb6d43f47ea7be36917fd5464c494c2c /games/dopewars/doinst.sh
parent16624b006987c1f337f33144f32e292e69357087 (diff)
downloadslackbuilds-803008f8e927b15d1e9f63d43c8df8707422a33a.tar.gz
games/dopewars: Added (Drug Dealing Game).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/dopewars/doinst.sh')
-rw-r--r--games/dopewars/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/dopewars/doinst.sh b/games/dopewars/doinst.sh
new file mode 100644
index 0000000000..791ba8006b
--- /dev/null
+++ b/games/dopewars/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