[Fedora-packaging] Re: Re: rpm installation tests / script tests

Rex Dieter rdieter at math.unl.edu
Wed Jul 11 17:01:08 UTC 2007


Nicolas Mailhot wrote:

> Le mercredi 11 juillet 2007 à 12:44 -0400, Todd Zullinger a écrit :
> 
>> So the scriptlet should now look like this (correcting any wrapping
>> peoples mail clients do)?
>> 
>> if [ -x %{_bindir}/gtk-update-icon-cache ]; then
>>     %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||
>>     :
>> fi
> 
> 
> What's the point of || : ?

scriptlets failing -> aborted rpm transaction -> harmed kittens.

-- Rex





More information about the Fedora-packaging mailing list