summaryrefslogtreecommitdiff
path: root/games/worldofpadman/doinst.sh
diff options
context:
space:
mode:
authorFernando Giannasi <phoemur@gmail.com>2013-07-28 12:31:01 -0500
committerErik Hanson <erik@slackbuilds.org>2013-10-12 14:38:03 -0500
commit91038097353a246e842e931cd979f75d9da3b940 (patch)
tree317f2d8c7f2ed09414e9ef2d18ec63f33345570c /games/worldofpadman/doinst.sh
parent5b6001da4905fe1ee47c4a39d730c2aa44a98b57 (diff)
downloadslackbuilds-91038097353a246e842e931cd979f75d9da3b940.tar.gz
games/worldofpadman: Added (Funny Open-source first-person shooter game)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'games/worldofpadman/doinst.sh')
-rw-r--r--games/worldofpadman/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/worldofpadman/doinst.sh b/games/worldofpadman/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/worldofpadman/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