summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-15 16:01:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-15 16:01:23 +0000
commit0c2bd76964a9fa114030646f9edd90616b139c84 (patch)
tree8f8ac2b99b934a4df29cdae818430b4787d29b15
parent9a96cdd24824ac0abe143052bcf42c0cbf88c4cd (diff)
downloadurpmi-0c2bd76964a9fa114030646f9edd90616b139c84.tar
urpmi-0c2bd76964a9fa114030646f9edd90616b139c84.tar.gz
urpmi-0c2bd76964a9fa114030646f9edd90616b139c84.tar.bz2
urpmi-0c2bd76964a9fa114030646f9edd90616b139c84.tar.xz
urpmi-0c2bd76964a9fa114030646f9edd90616b139c84.zip
fix commit adding --sourcerpm
-rwxr-xr-xurpmq2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index e32b3728..ae9c5db7 100755
--- a/urpmq
+++ b/urpmq
@@ -340,7 +340,7 @@ if ($options{list_aliases}) {
$urpm->{log}("getting information from rpms from $dir");
$local_sources->{$_->id} = "$dir/" . $_->filename foreach @pkgs;
} else {
- foreach my $xml_info (grep { $options{$_} } 'info', 'files', 'changelog') {
+ foreach my $xml_info (grep { $need_xml_info{$_} } 'info', 'files', 'changelog') {
if (my $xml_info_file = urpm::media::any_xml_info($urpm, $medium, $xml_info, $options{verbose} < 0)) {
require urpm::xml_info;
require urpm::xml_info_pkg;