summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-02-12 17:24:43 +0000
committerFrancois Pons <fpons@mandriva.com>2002-02-12 17:24:43 +0000
commitd3352fc2c759246a644bb24bae42d82789916c6d (patch)
tree0851c8adf411ef0e4cdc1cddf9027a7669ff4630 /urpmq
parent04611714b13a2f154eb2b7d857401609f624b2a4 (diff)
downloadurpmi-d3352fc2c759246a644bb24bae42d82789916c6d.tar
urpmi-d3352fc2c759246a644bb24bae42d82789916c6d.tar.gz
urpmi-d3352fc2c759246a644bb24bae42d82789916c6d.tar.bz2
urpmi-d3352fc2c759246a644bb24bae42d82789916c6d.tar.xz
urpmi-d3352fc2c759246a644bb24bae42d82789916c6d.zip
3.3-4mdk
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpmq b/urpmq
index d8bc5516..0c796f4b 100755
--- a/urpmq
+++ b/urpmq
@@ -188,9 +188,9 @@ if ($query->{headers} || $query->{sources}) {
$packer->extract_archive(undef, @headers);
} else {
#- fallback to retrieve rpm package before, so that --headers will be ok.
- my %uploads = $urpm->upload_source_packages({}, $list, 'local', undef);
- print STDERR join " ", "rpm2header", values %uploads;
- system "rpm2header", values %uploads;
+ my %downloads = $urpm->download_source_packages({}, $list, 'local', undef);
+ print STDERR join " ", "rpm2header", values %downloads;
+ system "rpm2header", values %downloads;
}
}
} else {