diff options
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"; } |