Re: iconcache proposal, v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 14, 2006 at 06:27:07PM -0600, Rex Dieter wrote:
> Axel Thimm wrote:
> > c) why is xdg-icon-resource's exit code thrown away? We do know it
> >    will exist (explicit direct or indirect Requires:) contrary to
> >    gtk-update-icon-cache, so if it fails it probably indicates some
> >    system error that should propagate up to the user and get hos
> >    attention (e.g. write failure to the cache/fs full etc.)
> 
> failed scriptlets = aborted rpm transaction, which is bad bad bad.

Yes, I'm aware of that, aborted transaction = user is notified of
somethng broken. So the question is if xdg-icon-resource is always
present and is known (is it?) to not fail unless the file system was
remounted read-only or the binary is of the wrong elf format or other
catastrophies, then better fail early than late.

Of course the actual work not having been done by this script is
negligible, but I just don't want to silence away any failures in all
scriplets for the sake of (presumably) allowing rpm to install
further on.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpfFtuBZQoZw.pgp
Description: PGP signature

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux