summaryrefslogtreecommitdiff
path: root/games/foobillard/doinst.sh
diff options
context:
space:
mode:
authorZbigniew Baniewski <zbigniew.baniewski@gmail.com>2012-12-18 12:13:48 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-18 12:14:07 +0100
commitc9cf2854aae25b4cfae527ea1c7c5d52e329817f (patch)
tree518407be76cde0023c70da0f3113d1f41aaa88e0 /games/foobillard/doinst.sh
parent88fdbde17d90c8fbc5e16f31f9088f15056fe8fa (diff)
downloadslackbuilds-c9cf2854aae25b4cfae527ea1c7c5d52e329817f.tar.gz
games/foobillard: Added (OpenGL billard).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/foobillard/doinst.sh')
-rw-r--r--games/foobillard/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/foobillard/doinst.sh b/games/foobillard/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/foobillard/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