aboutsummaryrefslogtreecommitdiff
path: root/academic/gcompris-qt/doinst.sh
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-10 02:24:08 +0100
committerDave Woodfall <dave@slackbuilds.org>2020-05-10 02:24:08 +0100
commit3b9ebcb4bda54c167eb33d9691d41061e87493d3 (patch)
tree01e9fe5504814ece921107500cb54101071efd59 /academic/gcompris-qt/doinst.sh
parenta5a09aea950fef7569ac816b34a99b71830760d4 (diff)
academic/gcompris-qt: Added (an educational software suite)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'academic/gcompris-qt/doinst.sh')
-rw-r--r--academic/gcompris-qt/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/gcompris-qt/doinst.sh b/academic/gcompris-qt/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/academic/gcompris-qt/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