/[gentoo-x86]/eclass/gnome2-utils.eclass
Gentoo

Diff of /eclass/gnome2-utils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.25 Revision 1.26
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 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-utils.eclass,v 1.25 2011/12/14 19:47:54 tetromino Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.26 2012/04/08 02:29:44 tetromino Exp $
4 4
5# @ECLASS: gnome2-utils.eclass 5# @ECLASS: gnome2-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# gnome@gentoo.org 7# gnome@gentoo.org
8# @BLURB: Auxiliary functions commonly used by Gnome packages. 8# @BLURB: Auxiliary functions commonly used by Gnome packages.
240 # Add to the list of failures 240 # Add to the list of failures
241 fails[$(( ${#fails[@]} + 1 ))]="${EROOT}${dir}" 241 fails[$(( ${#fails[@]} + 1 ))]="${EROOT}${dir}"
242 242
243 retval=2 243 retval=2
244 fi 244 fi
245 elif [[ $(ls "${EROOT}${dir}") = "icon-theme.cache" ]]; then
246 # Clear stale cache files after theme uninstallation
247 rm "${EROOT}${dir}/icon-theme.cache"
248 fi
249
250 if [[ -z $(ls "${EROOT}${dir}") ]]; then
251 # Clear empty theme directories after theme uninstallation
252 rmdir "${EROOT}${dir}"
245 fi 253 fi
246 done 254 done
247 255
248 eend ${retval} 256 eend ${retval}
249 257

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.20