summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-29 15:46:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-29 15:46:25 +0000
commit50bfacb9170146abf3c11332cf509734d117a91f (patch)
tree6b07521f180be3ca940fdfa77fb2d5273a3cad19 /urpmq
parentdf95f65347ad42a943b273e0bbaaf865826c93cc (diff)
downloadurpmi-50bfacb9170146abf3c11332cf509734d117a91f.tar
urpmi-50bfacb9170146abf3c11332cf509734d117a91f.tar.gz
urpmi-50bfacb9170146abf3c11332cf509734d117a91f.tar.bz2
urpmi-50bfacb9170146abf3c11332cf509734d117a91f.tar.xz
urpmi-50bfacb9170146abf3c11332cf509734d117a91f.zip
directly set $urpm->{root}, it's simpler
(also use it in urpm::get_pkgs::selected2list() even if callers didn't pass it)
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq8
1 files changed, 4 insertions, 4 deletions
diff --git a/urpmq b/urpmq
index c8aeffd9..ee29d74a 100755
--- a/urpmq
+++ b/urpmq
@@ -68,6 +68,8 @@ usage:
") . N(" --parallel - distributed urpmi across machines of alias.
") . N(" --use-distrib - configure urpmi on the fly from a distrib tree.
This permit to querying a distro.
+") . N(" --probe-synthesis - use synthesis file.
+") . N(" --probe-hdlist - use hdlist file.
") . N(" --wget - use wget to retrieve distant files.
") . N(" --curl - use curl to retrieve distant files.
") . N(" --prozilla - use prozilla to retrieve distant files.
@@ -151,8 +153,8 @@ urpm::media::configure($urpm,
sortmedia => $urpm::args::options{sortmedia},
synthesis => $urpm::args::options{synthesis},
update => $urpm::args::options{update},
- root => $urpm::args::options{root},
parallel => $urpm::args::options{parallel},
+ probe_with => $urpm::args::options{probe_with},
usedistrib => $urpm::args::options{usedistrib},
cmdline_skiplist => $urpm::args::options{skip},
);
@@ -334,9 +336,7 @@ if ($urpm::args::options{list_aliases}) {
$pkg && $pkg->header_filename } @selected))
{
my %h = map { $_ => 1 } @headers; @headers = keys %h;
- my $hdlist_path = $medium->{virtual}
- ? urpm::media::hdlist_or_synthesis_for_virtual_medium($medium)
- : urpm::media::statedir_hdlist($urpm, $medium);
+ my $hdlist_path = urpm::media::any_hdlist($urpm, $medium);
if (-s $hdlist_path) {
require MDV::Packdrakeng;
my $packer = MDV::Packdrakeng->open(archive => $hdlist_path, quiet => 1);