summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author dsomero2012-09-30 18:10:09 +0200
committer Robby Workman2012-10-01 03:01:10 +0200
commit54dd1aeaa8d71abbd0d84791996c58129cd35c29 (patch)
treea359e1639743602bd689856431f79b497eafac0b
parentf47b553a868f7dd710d9693d0bf2ee18906307bb (diff)
downloadslackbuilds-54dd1aeaa8d71abbd0d84791996c58129cd35c29.tar.gz
system/gnomint: Fixed (Handle mime files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--system/gnomint/doinst.sh6
-rw-r--r--system/gnomint/gnomint.SlackBuild2
2 files changed, 6 insertions, 2 deletions
diff --git a/system/gnomint/doinst.sh b/system/gnomint/doinst.sh
index 7851dc4789..bae04666ba 100644
--- a/system/gnomint/doinst.sh
+++ b/system/gnomint/doinst.sh
@@ -1,5 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database &> /dev/null
+ /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 [ -x usr/bin/gconftool-2 ]; then
diff --git a/system/gnomint/gnomint.SlackBuild b/system/gnomint/gnomint.SlackBuild
index ebcff53680..5d1679156c 100644
--- a/system/gnomint/gnomint.SlackBuild
+++ b/system/gnomint/gnomint.SlackBuild
@@ -23,7 +23,7 @@
PRGNAM=gnomint
VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then