summaryrefslogtreecommitdiffstats
path: root/office/vym/doinst.sh
diff options
context:
space:
mode:
author Heinz Wiesinger2010-05-11 22:55:11 +0200
committer David Somero2010-05-11 22:55:11 +0200
commit8292ee3c9bec726ad5099ea37223b09a3f4b9634 (patch)
tree83d24c3c7b5536461aaf7dae915b19807073b4f7 /office/vym/doinst.sh
parent1b404732cab048daea342d564e7ca7bc949bb54d (diff)
downloadslackbuilds-8292ee3c9bec726ad5099ea37223b09a3f4b9634.tar.gz
office/vym: Added to 12.1 repository
Diffstat (limited to 'office/vym/doinst.sh')
-rw-r--r--office/vym/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/office/vym/doinst.sh b/office/vym/doinst.sh
new file mode 100644
index 0000000000..daaf27f812
--- /dev/null
+++ b/office/vym/doinst.sh
@@ -0,0 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi