summaryrefslogtreecommitdiff
path: root/games/gzdoom-legacy/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-11 08:06:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-11 08:06:47 +0700
commita60b83ab535000233419b09e70ad6cdb7a50c61d (patch)
treed017837695d622e9c6c66951d16d56ecbd4df599 /games/gzdoom-legacy/doinst.sh
parent5c39c64ff575807371fc703be8cf6d05cbe60ec1 (diff)
downloadslackbuilds-a60b83ab535000233419b09e70ad6cdb7a50c61d.tar.gz
games/gzdoom-legacy: Added (OpenGL port of DOOM).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/gzdoom-legacy/doinst.sh')
-rw-r--r--games/gzdoom-legacy/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/gzdoom-legacy/doinst.sh b/games/gzdoom-legacy/doinst.sh
new file mode 100644
index 0000000000..4a25de5e6f
--- /dev/null
+++ b/games/gzdoom-legacy/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+