summaryrefslogtreecommitdiff
path: root/academic/ktikz/doinst.sh
diff options
context:
space:
mode:
authorGiorgio Peron <giorgio.peron@gmail.com>2012-12-16 17:42:05 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:12 -0500
commit18366462c61e0749b1b3d72ba2371c007a47347d (patch)
tree8cd811a637d5b7bb1e9ad80de14b0e4aeff9ad3a /academic/ktikz/doinst.sh
parentfd5f8faa628448a2f4c3669cd3f1863f4b21d90f (diff)
downloadslackbuilds-18366462c61e0749b1b3d72ba2371c007a47347d.tar.gz
academic/ktikz: Added (LaTeX tikz editor)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/ktikz/doinst.sh')
-rw-r--r--academic/ktikz/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/academic/ktikz/doinst.sh b/academic/ktikz/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/academic/ktikz/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