diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-11 22:26:02 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 22:26:02 +0200 |
commit | b123beffc871a314907965ab26bff7aebe3371ea (patch) | |
tree | d4f0fe32724417bc03cface8554e7932226c9661 /office/abiword/doinst.sh | |
parent | 5d761ac16853817ed23c5e4cdf582bbf9e034f3f (diff) |
office/abiword: Updated for version 2.6.4
Diffstat (limited to 'office/abiword/doinst.sh')
-rw-r--r-- | office/abiword/doinst.sh | 10 |
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 + |