1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 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.95 2011/04/21 21:27:40 eva Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.96 2011/04/22 11:04:13 nirbheek Exp $ |
4 | |
4 | |
5 | # @ECLASS: gnome2.eclass |
5 | # @ECLASS: gnome2.eclass |
6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
7 | # gnome@gentoo.org |
7 | # gnome@gentoo.org |
8 | # @BLURB: |
8 | # @BLURB: |
… | |
… | |
173 | rm -fr "${ED}/usr/share/applications/mimeinfo.cache" |
173 | rm -fr "${ED}/usr/share/applications/mimeinfo.cache" |
174 | |
174 | |
175 | # Delete all .la files |
175 | # Delete all .la files |
176 | if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then |
176 | if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then |
177 | ebegin "Removing .la files" |
177 | ebegin "Removing .la files" |
178 | find "${ED}" -name '*.la' -delete || die "la file removal failed" |
178 | find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" |
179 | eend |
179 | eend |
180 | fi |
180 | fi |
181 | } |
181 | } |
182 | |
182 | |
183 | # @FUNCTION: gnome2_pkg_preinst |
183 | # @FUNCTION: gnome2_pkg_preinst |