summaryrefslogtreecommitdiff
path: root/games/odamex/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-01-15 23:21:38 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-01-15 23:21:38 -0600
commit9daa6f9f29d694e2482ca75bce19a19dabfaed81 (patch)
tree93ddb2dd01d326a7dc7ef9b5fb4735b1b4ee531a /games/odamex/doinst.sh
parentfa40eb3d306cada6a7d06c40aab779a93ff9769d (diff)
downloadslackbuilds-9daa6f9f29d694e2482ca75bce19a19dabfaed81.tar.gz
games/odamex: Added (Online Doom Multiplayer Experience)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/odamex/doinst.sh')
-rw-r--r--games/odamex/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/odamex/doinst.sh b/games/odamex/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/games/odamex/doinst.sh
@@ -0,0 +1,10 @@
+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
+