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

Nicolas Mailhot nicolas.mailhot at laposte.net
Wed Jul 11 17:27:03 UTC 2007


Le mercredi 11 juillet 2007 à 12:01 -0500, Rex Dieter a écrit :
> 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.


But aren't kittens already protected by the if … fi ?

-- 
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20070711/6cd0d1ef/attachment.bin 


More information about the packaging mailing list