Remove VDB grubbing for icon updates; bug #155993
authorDaniel Gryniewicz <dang@gentoo.org>
Tue, 24 Apr 2007 18:13:14 +0000 (18:13 +0000)
committerDaniel Gryniewicz <dang@gentoo.org>
Tue, 24 Apr 2007 18:13:14 +0000 (18:13 +0000)
eclass/gnome2-utils.eclass

index 70171ac8541becb591bc515c5a507f8081732c0c..f5643053a27e204de59a33b2e030568e44b1b49e 100644 (file)
@@ -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