aboutsummaryrefslogtreecommitdiff
path: root/office/abiword/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'office/abiword/doinst.sh')
-rw-r--r--office/abiword/doinst.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/office/abiword/doinst.sh b/office/abiword/doinst.sh
index cbc484f9f170c..6c07a9fbbc304 100644
--- a/office/abiword/doinst.sh
+++ b/office/abiword/doinst.sh
@@ -1,3 +1,9 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+
+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
+