From b123beffc871a314907965ab26bff7aebe3371ea Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 11 May 2010 22:26:02 +0200 Subject: office/abiword: Updated for version 2.6.4 --- office/abiword/doinst.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'office/abiword/doinst.sh') diff --git a/office/abiword/doinst.sh b/office/abiword/doinst.sh index cbc484f9f1..6c07a9fbbc 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 + -- cgit v1.2.3-65-gdbad