From: Daniel Gryniewicz Date: Tue, 24 Apr 2007 18:13:14 +0000 (+0000) Subject: Remove VDB grubbing for icon updates; bug #155993 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1fa3585a800a0c7229d2522e897809b40e96ebca;p=gentoo.git Remove VDB grubbing for icon updates; bug #155993 --- diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass index 70171ac8541b..f5643053a27e 100644 --- a/eclass/gnome2-utils.eclass +++ b/eclass/gnome2-utils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.3 2007/01/24 18:20:01 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.4 2007/04/24 18:13:14 dang Exp $ # # gnome2-utils.eclass @@ -94,13 +94,6 @@ gnome2_icon_cache_update() { return fi - if ! grep -q "obj /usr/share/icons" ${ROOT}var/db/pkg/*/${PF}/CONTENTS - then - debug-print "No items to update" - - return - fi - ebegin "Updating icons cache" local retval=0 @@ -111,7 +104,7 @@ gnome2_icon_cache_update() { if [[ -f "${dir}/index.theme" ]] ; then local rv=0 - ${updater} -qf ${dir} + ${updater} -q ${dir} rv=$? if [[ ! $rv -eq 0 ]] ; then