Package: xapt Version: 2.2.7 Severity: normal Tags: patch Hi,
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? Best regards, Nobuhiro -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
--- a/xapt/xapt 2010-10-23 07:19:22.000000000 +0900 +++ b/xapt/xapt 2010-12-09 16:03:16.000000000 +0900 @@ -98,8 +98,8 @@ $configfile = "/etc/xapt.d/$vendor_name.conf" if (-r "/etc/xapt.d/$vendor_name.conf"); $config = new Config::IniFiles( -file => $configfile ); -$mirror = $config->val(lc($vendor_name), 'mirror'); -$suite = $config->val(lc($vendor_name), 'suite'); +$mirror = $config->val(lc($vendor_name), 'mirror') if ($mirror eq ''); +$suite = $config->val(lc($vendor_name), 'suite') if ($suite eq ''); $components = $config->val(lc($vendor_name), 'components'); $noauth = " -o Apt::Get::AllowUnauthenticated=true " if ($config->val(lc($vendor_name), 'noauth') eq 'true');
signature.asc
Description: Digital signature

