summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
Diffstat (limited to 'academic')
-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