Request for sponsor: fyre
Adrian Reber
adrian at lisas.de
Thu Mar 24 22:54:38 UTC 2005
On Thu, Mar 24, 2005 at 05:27:59PM -0500, Ignacio Vazquez-Abrams wrote:
> On Thu, 2005-03-24 at 23:10 +0100, Adrian Reber wrote:
> > How about:
> >
> > update-desktop-database /usr/share/applications &> /dev/null 2>&1 || :
> > update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
>
> The redirecting to /dev/null I can agree with, but the path on u-d-d
> isn't required and the "|| ;" is extraneous due to the Requires(post*).
I just copied a bad example. It wasn't about the path I just wanted
mention the redirecting. And the "|| :" is there to prevent a bad exit
code if it failed and not only if the file wasn't found.
Adrian
More information about the fedora-extras-list
mailing list