office/eqonomize: Update hicolor icon cache in doinst.sh.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2010-06-28 13:04:07 -04:00 committed by dsomero
parent 087086973a
commit fe1b3f05fc
3 changed files with 14 additions and 10 deletions

View File

@ -1,8 +1,14 @@
if [ -x usr/bin/update-desktop-database ]; then
usr/bin/update-desktop-database 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
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
fi
fi

View File

@ -2,7 +2,7 @@
# Slackware build script for eqonomize
# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,15 +24,13 @@
PRGNAM=eqonomize
VERSION=0.6
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

View File

@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/eqonomize/eqonomize-0.6.tar.gz"
MD5SUM="02d7c98c4ca822873c355fd9095a3268"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="pprkut"
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
APPROVED="rworkman"
APPROVED="dsomero"