On Thu, 9 Dec 2010 16:19:21 +0900 Nobuhiro Iwamatsu <[email protected]> wrote:
> When mirror and suite are set in /etc/xapt.d/debian.conf,
> the setting from a command-line is ignored.
> Setting of /etc/xapt.d/debian.conf is always effective.
>
> I made a patch to give priority to command-line over to solve this
> problem.
>
> Could you check this patch?
if ($mirror eq '') is the wrong check because the variable is undefined
if the command line option is not given, same for $suite.
Correct fix is:
$mirror = $config->val(lc($vendor_name), 'mirror')
if (not defined $mirror);
$suite = $config->val(lc($vendor_name), 'suite')
if (not defined $suite);
--
Neil Williams
=============
http://www.linux.codehelp.co.uk/
pgpY3h1W1PE81.pgp
Description: PGP signature

