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

R P Herrold herrold at owlriver.com
Wed Jul 11 17:19:31 UTC 2007


On Wed, 11 Jul 2007, Nicolas Mailhot wrote:

>> if [ -x %{_bindir}/gtk-update-icon-cache ]; then
>>     %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
>> fi

> What's the point of || : ?

to silently hide problems, rather than to fix them, and to 
return a success error code after the fact of failure

-- Russ Herrold




More information about the Fedora-packaging mailing list