aboutsummaryrefslogtreecommitdiff
path: root/development/sublime_text/doinst.sh
diff options
context:
space:
mode:
authorLuke Williams <xocel@iquidus.org>2012-08-13 13:13:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-27 08:47:32 -0500
commitef45ab298b832cc43b91a20023c9b744b2f515d4 (patch)
tree9b4a3f0fe2c6b0d6a0d2fff811f160cd83d156a5 /development/sublime_text/doinst.sh
parenta4fe364f1064c2a526ccd4ca0b6a60e594bc9108 (diff)
development/sublime_text: Added (A sophisticated text editor)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/sublime_text/doinst.sh')
-rw-r--r--development/sublime_text/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/development/sublime_text/doinst.sh b/development/sublime_text/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/development/sublime_text/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
+