diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-06-28 13:04:07 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2010-06-28 13:04:07 -0400 |
commit | fe1b3f05fc6b1524fb995ab83eacd55e5fce5161 (patch) | |
tree | 715f265c15cbf0b30d306d3d24c35622e28c3646 | |
parent | 087086973ab517d57d51388fe44c9525f11589f6 (diff) | |
download | slackbuilds-fe1b3f05fc6b1524fb995ab83eacd55e5fce5161.tar.gz |
office/eqonomize: Update hicolor icon cache in doinst.sh.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | office/eqonomize/doinst.sh | 14 | ||||
-rw-r--r-- | office/eqonomize/eqonomize.SlackBuild | 6 | ||||
-rw-r--r-- | office/eqonomize/eqonomize.info | 4 |
3 files changed, 14 insertions, 10 deletions
diff --git a/office/eqonomize/doinst.sh b/office/eqonomize/doinst.sh index c9f42484ad..9830478e8c 100644 --- a/office/eqonomize/doinst.sh +++ b/office/eqonomize/doinst.sh @@ -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 diff --git a/office/eqonomize/eqonomize.SlackBuild b/office/eqonomize/eqonomize.SlackBuild index 0fed6f6a1d..209ad51b0e 100644 --- a/office/eqonomize/eqonomize.SlackBuild +++ b/office/eqonomize/eqonomize.SlackBuild @@ -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 diff --git a/office/eqonomize/eqonomize.info b/office/eqonomize/eqonomize.info index bc5a0f8700..d07aa3cae7 100644 --- a/office/eqonomize/eqonomize.info +++ b/office/eqonomize/eqonomize.info @@ -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" |