summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2007-04-24 18:13:14 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2007-04-24 18:13:14 +0000
commitf2f466160ec1ca683792cb0793e240f8eefd3391 (patch)
treee84f9037ac4f1d01c2a6dbdf3037836d3b591dd8 /eclass
parentStable on sparc (diff)
downloadgentoo-2-f2f466160ec1ca683792cb0793e240f8eefd3391.tar.gz
gentoo-2-f2f466160ec1ca683792cb0793e240f8eefd3391.tar.bz2
gentoo-2-f2f466160ec1ca683792cb0793e240f8eefd3391.zip
Remove VDB grubbing for icon updates; bug #155993
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnome2-utils.eclass11
1 files changed, 2 insertions, 9 deletions
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