summaryrefslogtreecommitdiff
path: root/academic/artha/doinst.sh
diff options
context:
space:
mode:
authorMikhail Zotov <mikhail dot ru at gmail dot com>2011-03-04 17:04:34 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-03-04 17:04:34 -0300
commit38be0a9c53648508908a38f9263ccaa2529ce0f5 (patch)
treecae84ef82682439db04305498f371b75efae27af /academic/artha/doinst.sh
parentb5259a5f2446b8dcf5a8ee64c1646531383de89a (diff)
downloadslackbuilds-38be0a9c53648508908a38f9263ccaa2529ce0f5.tar.gz
academic/artha: Added (cross-platform thesaurus)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/artha/doinst.sh')
-rw-r--r--academic/artha/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/artha/doinst.sh b/academic/artha/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/artha/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