summaryrefslogtreecommitdiffstats
path: root/games/tkgames/doinst.sh
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-12-19 11:23:27 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-27 16:20:27 +0700
commit1641c798ba5327f1e30e57728c1ef4f9ad1a89c3 (patch)
tree182a357b1118ef5f464bf912d159cb0bd265d556 /games/tkgames/doinst.sh
parent67defd630c841a5e92d31f373a87298f0e7c8a52 (diff)
downloadslackbuilds-1641c798ba5327f1e30e57728c1ef4f9ad1a89c3.tar.gz
slackbuilds-1641c798ba5327f1e30e57728c1ef4f9ad1a89c3.tar.xz
games/tkgames: Added (a collection of card and puzzle games).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/tkgames/doinst.sh')
-rw-r--r--games/tkgames/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/tkgames/doinst.sh b/games/tkgames/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/tkgames/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