summaryrefslogtreecommitdiffstats
path: root/games/scid_vs_pc/doinst.sh
diff options
context:
space:
mode:
author Fernando B Giannasi <phoemur@gmail.com>2013-12-05 08:47:07 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-05 18:35:19 +0700
commita9752a3f5bf754245bf26f9c41c02090b4e8d738 (patch)
treec05f627303328b7bc6695e5c192837e4780ceed7 /games/scid_vs_pc/doinst.sh
parent59715b3848ab4773c73e96aa1f7ea6aeea44166b (diff)
downloadslackbuilds-a9752a3f5bf754245bf26f9c41c02090b4e8d738.tar.gz
slackbuilds-a9752a3f5bf754245bf26f9c41c02090b4e8d738.tar.xz
games/scid_vs_pc: Added (Usability and bug-fix fork of Scid)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/scid_vs_pc/doinst.sh')
-rw-r--r--games/scid_vs_pc/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/scid_vs_pc/doinst.sh b/games/scid_vs_pc/doinst.sh
new file mode 100644
index 0000000000..791ba8006b
--- /dev/null
+++ b/games/scid_vs_pc/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