Le samedi 31 août 2013 à 18:44 +0200, Gilles Dartiguelongue a écrit :
> Le samedi 31 août 2013 à 16:49 +0200, Michał Górny a écrit :
> > Dnia 2013-08-31, o godz. 15:00:43
> > Gilles Dartiguelongue <[email protected]> napisał(a):
> > 
> > > Le samedi 31 août 2013 à 13:40 +0200, Michał Górny a écrit :
> > > > > +     cat "${tmp_file}" > 
> > > > > "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache"
> > > > 
> > > > Why not mv or cp? Also you need '|| die' here since 'cat' can fail
> > > > writing.

Thanks for pacho's bugzillafu, we've got the original reports here:

https://bugs.gentoo.org/show_bug.cgi?id=413529
https://bugs.gentoo.org/show_bug.cgi?id=413485

It seems the cat usage was only to avoid handling file permission
issues.

The use of a temporary file itself it to avoid having a corrupted file
if the command fails.

As for immodules I plan to provide patches to fix it after we agree on
this one.

-- 
Gilles Dartiguelongue <[email protected]>
Gentoo

-- 
Gilles Dartiguelongue <[email protected]>
Gentoo

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to