diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-23 21:31:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-23 21:31:09 +0000 |
commit | 14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7 (patch) | |
tree | 12bc24416cea0e35035e76da0e73a473092b6f69 /urpmq | |
parent | fac2e70e4020fbd9a545f50e358537a4116c0df1 (diff) | |
download | urpmi-14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7.tar urpmi-14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7.tar.gz urpmi-14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7.tar.bz2 urpmi-14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7.tar.xz urpmi-14abfdf01bfa2e0872a85ea7ce022d44a6e29fb7.zip |
- all tools:
o handle mirrorlist
(need perl-Zone-TimeInfo patched for geolocalisation)
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -193,7 +193,9 @@ if ($options{list_aliases}) { foreach (@{$urpm->{media}}) { $_->{update} and print "--update "; $_->{virtual} and print "--virtual "; - print escape_shell($_->{name}), " ", escape_shell($_->{url}), " "; + $_->{mirrorlist} and print "--mirrorlist $_->{mirrorlist} "; + print escape_shell($_->{name}), " "; + print escape_shell($_->{mirrorlist} ? $_->{'with-dir'} : $_->{url}), " " if !$_->{mirrorlist} || $_->{'with-dir'}; $_->{with_synthesis} and print "with " . escape_shell($_->{with_synthesis}); print "\n"; } |