summaryrefslogtreecommitdiff
path: root/games/knights/doinst.sh
diff options
context:
space:
mode:
authorChris Abela <kristofru@gmail.com>2011-10-29 22:03:49 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-29 22:03:49 -0200
commit512eed69fc018f833b8dd9690c4218daefe6a3aa (patch)
tree02ebb90df9965ed7ce98cac6b6f51f140707db19 /games/knights/doinst.sh
parentca2058fb861b3610d6abbc6c2fc00233e119616e (diff)
downloadslackbuilds-512eed69fc018f833b8dd9690c4218daefe6a3aa.tar.gz
games/knights: Added (simple chess board for KDE 4)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/knights/doinst.sh')
-rw-r--r--games/knights/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/knights/doinst.sh b/games/knights/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/games/knights/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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