summaryrefslogtreecommitdiff
path: root/games/gzdoom/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-05-13 09:06:01 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-05-13 09:06:01 -0400
commitd2df3ce39f02aa03b218b5ec7b572fa720589990 (patch)
tree661c10aeb3048bd5232ac74b90faf82d1533ba67 /games/gzdoom/doinst.sh
parent79e444d58e10561a144653909b1c6ffb51f1a30d (diff)
downloadslackbuilds-d2df3ce39f02aa03b218b5ec7b572fa720589990.tar.gz
games/gzdoom: Added (OpenGL port of DOOM)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/gzdoom/doinst.sh')
-rw-r--r--games/gzdoom/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/gzdoom/doinst.sh b/games/gzdoom/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/games/gzdoom/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
+