summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-18 14:05:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-18 14:05:06 +0000
commit67c2603032b329444b12bd15b8ab71bff9f79b0e (patch)
treeb40d82f038d737ca96ea25290008b67bb1fefad7 /urpmq
parent17100661516bbc5d2f6d466ae01637402a70167c (diff)
downloadurpmi-67c2603032b329444b12bd15b8ab71bff9f79b0e.tar
urpmi-67c2603032b329444b12bd15b8ab71bff9f79b0e.tar.gz
urpmi-67c2603032b329444b12bd15b8ab71bff9f79b0e.tar.bz2
urpmi-67c2603032b329444b12bd15b8ab71bff9f79b0e.tar.xz
urpmi-67c2603032b329444b12bd15b8ab71bff9f79b0e.zip
- urpmi.addmedia, urpmi.update:
o urpmi.addmedia --mirrorlist handles a list of mirrors/mirrorlist: you can specify a mirror to use inside a local network, but it will default to standard mirrors when the local mirror is not available.
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index d4998bd6..d1bc5f34 100755
--- a/urpmq
+++ b/urpmq
@@ -198,7 +198,7 @@ if ($options{list_aliases}) {
foreach (@{$urpm->{media}}) {
$_->{update} and print "--update ";
$_->{virtual} and print "--virtual ";
- $_->{mirrorlist} and print "--mirrorlist $_->{mirrorlist} ";
+ $_->{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});