Gentoo Archives: gentoo-dev

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] gnome2-utils.eclass add support for gdk-pixbuf cache update
Date: Wed, 11 Sep 2013 06:51:43
Message-Id: 1378889482.29093.0.camel@kanae
In Reply to: Re: [gentoo-dev] [PATCH] gnome2-utils.eclass add support for gdk-pixbuf cache update by Fabian Groffen
1 Le mardi 10 septembre 2013 à 17:10 +0200, Fabian Groffen a écrit :
2 > On 10-09-2013 06:22:38 -0400, Ian Stakenvicius wrote:
3 > > > pkg_preinst() {
4 > > > gnome2_gdk_pixbuf_savelist
5 > > > +
6 > > > + # Make sure loaders.cache belongs to gdk-pixbuf alone
7 > > > + local cache="usr/$(get_libdir)/${PN}-2.0/2.10.0/loaders.cache"
8 > > > +
9 > > > + if [[ -e ${ROOT}${cache} ]]; then
10 > > > + cp "${ROOT}"${cache} "${D}"/${cache} || die
11 > > > + else
12 > > > + touch "${D}"/${cache} || die
13 > > > + fi
14 > > > }
15 > > >
16 > > > pkg_postinst() {
17 > > >
18 > >
19 > >
20 > > shouldn't that be EROOT ?
21 >
22 > and ED in that case too
23
24 Do we still use that in EAPI > 3 ?
25
26 --
27 Gilles Dartiguelongue <eva@g.o>
28 Gentoo

Replies