summaryrefslogtreecommitdiff
path: root/academic/klavaro/doinst.sh
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2015-07-10 07:26:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-11 14:10:52 +0700
commiteeb063f3da03ab5eff03e1c6edcf6d7dfd33affa (patch)
tree0331d0fa3762d0e9c1fb9862f45ad7b36f30a20f /academic/klavaro/doinst.sh
parentd7ae0451e1da661653b758e1ccbc53f524866b92 (diff)
downloadslackbuilds-eeb063f3da03ab5eff03e1c6edcf6d7dfd33affa.tar.gz
academic/klavaro: Added (Free touch typing tutor program).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/klavaro/doinst.sh')
-rw-r--r--academic/klavaro/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/klavaro/doinst.sh b/academic/klavaro/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/klavaro/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