aboutsummaryrefslogtreecommitdiff
path: root/academic/kurso/doinst.sh
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2015-06-14 22:23:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-15 10:20:16 +0700
commitb9e46de2b5364876dd1ec0f0b19508b294869b1f (patch)
tree18844f319710719b6f16854047a778d9ca2cdb73 /academic/kurso/doinst.sh
parent4689b00db89248843d64c4d2ccb86424c74d4148 (diff)
academic/kurso: Added (a program for learning Esperanto).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/kurso/doinst.sh')
-rw-r--r--academic/kurso/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/kurso/doinst.sh b/academic/kurso/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/academic/kurso/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