Hi,

On Thu, 2008-10-16 at 09:22:49 +0100, Shish wrote:
> I've had the same annoyance; and it struck me as silly that the
> override file be a mandatory argument in the first place, if there are
> legitimate situations where it isn't needed (the tutorial I was
> following used /dev/null as a workaround)

This was fixed long time ago, lenny and sid systems should have such
fixed dpkg-dev package.

  <http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=4c41b1df>

> I've attached a patch which makes the override argument optional, and
> if it isn't supplied, the warnings about it won't be shown. There's a
> bit of ugly indent fiddling, but I couldn't see any way around that
> (Ideally I'd just stick an if around one function call, but there are
> no functions, the whole script is one monolithic block...)

For this one, the proper solution is to replace the print calls with
warning calls, and enable those only on verbose mode or similar.

I've the print to warnings code around will try to commit latter.
Thanks for the patch anyway!

regards,
guillem



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to