summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 19:38:44 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:36 -0500
commite5651cee0fc41e69157a7310f9a5a89bfb247292 (patch)
treecdc9824edb317e1ca689eaf199c2761edf465f74
parentadf2c7c2ca1a19170226807d3d65c02b1380fa0b (diff)
downloadslackbuilds-e5651cee0fc41e69157a7310f9a5a89bfb247292.tar.gz
academic/kile: Fixed (Handle mime info)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--academic/kile/doinst.sh4
-rw-r--r--academic/kile/kile.SlackBuild6
2 files changed, 6 insertions, 4 deletions
diff --git a/academic/kile/doinst.sh b/academic/kile/doinst.sh
index 3e5691a052..9424ce43ff 100644
--- a/academic/kile/doinst.sh
+++ b/academic/kile/doinst.sh
@@ -2,6 +2,10 @@ 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
+
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
diff --git a/academic/kile/kile.SlackBuild b/academic/kile/kile.SlackBuild
index 5106330df8..05265451f4 100644
--- a/academic/kile/kile.SlackBuild
+++ b/academic/kile/kile.SlackBuild
@@ -4,15 +4,13 @@
PRGNAM=kile
VERSION=${VERSION:-2.1b2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -36,7 +34,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT