summaryrefslogtreecommitdiff
path: root/development/medit/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-07-02 07:46:46 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-02 07:46:46 -0500
commite59713189d604d5a294fc7e417a5ed68b809f34e (patch)
tree430052465d8a2549fcfc06cb39979b08d24ca046 /development/medit/doinst.sh
parent5e8dce29b4b6f64c5abea2c033f29adaf8780912 (diff)
downloadslackbuilds-e59713189d604d5a294fc7e417a5ed68b809f34e.tar.gz
development/medit: Added (text editor)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/medit/doinst.sh')
-rw-r--r--development/medit/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/development/medit/doinst.sh b/development/medit/doinst.sh
new file mode 100644
index 0000000000..9f1846bc38
--- /dev/null
+++ b/development/medit/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
+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
+