summaryrefslogtreecommitdiff
path: root/academic/mendeleydesktop/doinst.sh
diff options
context:
space:
mode:
authorGrissiom <chaos.proton@gmail.com>2010-05-13 00:57:20 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:57:20 +0200
commita459fe3bc5751fc171b704f88eafbca3d4cf90e6 (patch)
treecb78d8dbf6042e6094a603ee84caf77535357e85 /academic/mendeleydesktop/doinst.sh
parentd7a9012a9dcbc112e5d93023870999332ad00dc4 (diff)
downloadslackbuilds-a459fe3bc5751fc171b704f88eafbca3d4cf90e6.tar.gz
academic/mendeleydesktop: Added to 13.0 repository
Diffstat (limited to 'academic/mendeleydesktop/doinst.sh')
-rw-r--r--academic/mendeleydesktop/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/academic/mendeleydesktop/doinst.sh b/academic/mendeleydesktop/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/academic/mendeleydesktop/doinst.sh
@@ -0,0 +1,10 @@
+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
+