summaryrefslogtreecommitdiff
path: root/development/leo/doinst.sh
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-01-17 20:07:58 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:05 -0600
commit7ad0950132661b5977c3519983bd20b82948755e (patch)
treeaedcec0be7dd3cb83f0cd6b067305961749075ab /development/leo/doinst.sh
parent6dbd2cfd68a366fd73765a1811e602c23b8ea7fc (diff)
downloadslackbuilds-7ad0950132661b5977c3519983bd20b82948755e.tar.gz
development/leo: Added (Leonine Editor with Outlines).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/leo/doinst.sh')
-rw-r--r--development/leo/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/leo/doinst.sh b/development/leo/doinst.sh
new file mode 100644
index 0000000000..ff4c9b763a
--- /dev/null
+++ b/development/leo/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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