From fe1b3f05fc6b1524fb995ab83eacd55e5fce5161 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Mon, 28 Jun 2010 13:04:07 -0400 Subject: office/eqonomize: Update hicolor icon cache in doinst.sh. Signed-off-by: dsomero --- office/eqonomize/doinst.sh | 14 ++++++++++---- office/eqonomize/eqonomize.SlackBuild | 6 ++---- office/eqonomize/eqonomize.info | 4 ++-- 3 files changed, 14 insertions(+), 10 deletions(-) (limited to 'office') 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 +# 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" -- cgit v1.2.3