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

Re: Is Sid for broken stuff? Is it too much to ask for testing the packages?

On Fri, Dec 13, 2002 at 02:21:55PM +0100, Marek Habersack wrote:
> > > if [ -f /path/to/file ]; then
> > >   rm /path/to/file || true
> > > fi
> > 
> > This is wrong.  You shouldn't ignore errors when you know that the
> > file exists.
> You're right. Cure worse than disease.

Think of what would happen if you put that in your maintainer script and
rm actually did fail.

Would that have been incredibly irresponsible thing of you to do? You
could have tested it in just a minute, right?

Peter Mathiasson, peter at mathiasson dot nu, http://www.mathiasson.nu
GPG Fingerprint: A9A7 F8F6 9821 F415 B066 77F1 7FF5 C2E6 7BF2 F228

Reply to: