diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-19 12:16:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-19 12:16:49 +0000 |
commit | 3880463a92142896704deca4d341af93be762b84 (patch) | |
tree | 083ddaa4280c8f7bd74b0619ebe5d40fd4a9d038 /urpmq | |
parent | fa957b2abb16441c131d8242b22579ca63d70c01 (diff) | |
download | urpmi-3880463a92142896704deca4d341af93be762b84.tar urpmi-3880463a92142896704deca4d341af93be762b84.tar.gz urpmi-3880463a92142896704deca4d341af93be762b84.tar.bz2 urpmi-3880463a92142896704deca4d341af93be762b84.tar.xz urpmi-3880463a92142896704deca4d341af93be762b84.zip |
- all tools:
o drop hdlist support (will be replaced with xml media_info)
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -68,8 +68,6 @@ usage: ") . N(" --urpmi-root - use another root for urpmi db & rpm installation. ") . 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. @@ -194,13 +192,10 @@ if ($options{list_aliases}) { $_->{update} and print "--update "; $_->{virtual} and print "--virtual "; print escape_shell($_->{name}), " ", escape_shell($_->{url}), " "; - $_->{with_hdlist} and print "with " . escape_shell($_->{with_hdlist}); + $_->{with_synthesis} and print "with " . escape_shell($_->{with_synthesis}); print "\n"; } exit 0; -} elsif ($options{list}) { - # --list lists all available packages: select them all - @{$state->{selected}}{0 .. $#{$urpm->{depslist}}} = (); } else { %requested = $urpm->register_rpms(@files); @@ -336,6 +331,7 @@ if ($options{list_aliases}) { my @l = grep { $medium->{start} <= $_ && $_ <= $medium->{end} } @selected or next; my @pkgs = map { $urpm->{depslist}[$_] } @l or next; + # TODO my $hdlist_path = urpm::media::any_hdlist($urpm, $medium); if (-s $hdlist_path) { require MDV::Packdrakeng; |