1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.61 2005/08/23 03:51:03 leonardop Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.62 2005/09/08 17:19:22 leonardop Exp $ |
4 | # |
4 | # |
5 | # Authors: |
5 | # Authors: |
6 | # Bruce A. Locke <blocke@shivan.org> |
6 | # Bruce A. Locke <blocke@shivan.org> |
7 | # Spidler <spider@gentoo.org> |
7 | # Spidler <spider@gentoo.org> |
8 | |
8 | |
… | |
… | |
130 | ebegin "Updating icons cache" |
130 | ebegin "Updating icons cache" |
131 | |
131 | |
132 | local retval=0 |
132 | local retval=0 |
133 | for dir in \ |
133 | for dir in \ |
134 | $(find ${ROOT}/usr/share/icons -maxdepth 1 -mindepth 1 -type d); do |
134 | $(find ${ROOT}/usr/share/icons -maxdepth 1 -mindepth 1 -type d); do |
|
|
135 | if [ -f "${dir}/index.theme" ]; then |
135 | $updater -qf $dir || retval=$? |
136 | $updater -qf $dir || retval=$? |
|
|
137 | fi |
136 | done |
138 | done |
137 | |
139 | |
138 | eend $retval |
140 | eend $retval |
139 | } |
141 | } |
140 | |
142 | |