summaryrefslogtreecommitdiff
path: root/games/gnubg/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:39:18 +0200
committerChess Griffin <chess@slackbuilds.org>2010-05-12 17:39:18 +0200
commit5bde0c9828c28b383dbe923f4a1e13d691dc2f28 (patch)
tree2ac1d14aef9b14a158f8461f9925fae3be4ca113 /games/gnubg/doinst.sh
parent46fa6f8bc26fd81f595f8f2430023b924f95f546 (diff)
downloadslackbuilds-5bde0c9828c28b383dbe923f4a1e13d691dc2f28.tar.gz
games/gnubg: Updated for version 0.90.0_20090501
Diffstat (limited to 'games/gnubg/doinst.sh')
-rw-r--r--games/gnubg/doinst.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/games/gnubg/doinst.sh b/games/gnubg/doinst.sh
index 02b89b3fe3..9f1846bc38 100644
--- a/games/gnubg/doinst.sh
+++ b/games/gnubg/doinst.sh
@@ -1,3 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database ./usr/share/applications &> /dev/null
+ /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
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
+