Gentoo Archives: gentoo-dev

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

Replies