summaryrefslogtreecommitdiff
path: root/games/chocolate-doom/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-12-28 23:38:11 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-28 23:38:31 +0100
commit28945ff69a41a84d13d4dc0b45953085a65d909e (patch)
tree958d8f2ed0a4081c1f2d8e95c9c7f076d083b9ad /games/chocolate-doom/doinst.sh
parent53d184f96f07a66e9050f418b70bb80bc1fe0d47 (diff)
downloadslackbuilds-28945ff69a41a84d13d4dc0b45953085a65d909e.tar.gz
games/chocolate-doom: Fixed md5sum, added license.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/chocolate-doom/doinst.sh')
-rw-r--r--games/chocolate-doom/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/chocolate-doom/doinst.sh b/games/chocolate-doom/doinst.sh
index 696d35bad7..bd8f3bab51 100644
--- a/games/chocolate-doom/doinst.sh
+++ b/games/chocolate-doom/doinst.sh
@@ -2,3 +2,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
+