summaryrefslogtreecommitdiff
path: root/office/texstudio/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2011-09-22 00:00:08 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-09-29 19:02:30 -0300
commitddf2555115c11b856580a9f51601a6d409b00e37 (patch)
tree4e60c7c7c14b91ec0dab72137c5bff04ea957044 /office/texstudio/doinst.sh
parent79114f4486cdafb71bcc842b51d2d99803278794 (diff)
downloadslackbuilds-ddf2555115c11b856580a9f51601a6d409b00e37.tar.gz
office/texstudio: Added (LaTeX editor)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/texstudio/doinst.sh')
-rw-r--r--office/texstudio/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/office/texstudio/doinst.sh b/office/texstudio/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/office/texstudio/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
+