Re: Error output from rpm pre/post scripts (was Re: Florian La Roche please stop mass filing bugs)

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

 



> Well, I don't remember if I was involved in that, but if we don't want the 
> scriptlet to fail and don't want to display the error output (no matter 
> whether it's because of a missing executable or some other error running it), 
> dunno if checking first adds any value.

Hello Ville,

what's wrong with "if test -x app; then app; fi" for this?
Shouldn't this fix all problems?

regards,

Florian La Roche

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

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

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux