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 |