From e5651cee0fc41e69157a7310f9a5a89bfb247292 Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 27 Sep 2012 19:38:44 -0400 Subject: academic/kile: Fixed (Handle mime info) Signed-off-by: dsomero --- academic/kile/doinst.sh | 4 ++++ academic/kile/kile.SlackBuild | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'academic/kile') diff --git a/academic/kile/doinst.sh b/academic/kile/doinst.sh index 3e5691a052b5..9424ce43ff57 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 5106330df8d4..05265451f46a 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 -- cgit v1.2.3