summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-12-13 15:48:06 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-12-13 15:48:06 +0000
commitb3844827017e8b8124bdde3a85db910b88cd5b10 (patch)
treec2da16b8ee2988b5083afb2c1599608c5c588ded
parente77a18dfd41404c9d6d28597db08e09f6280fb2e (diff)
downloadurpmi-b3844827017e8b8124bdde3a85db910b88cd5b10.tar
urpmi-b3844827017e8b8124bdde3a85db910b88cd5b10.tar.gz
urpmi-b3844827017e8b8124bdde3a85db910b88cd5b10.tar.bz2
urpmi-b3844827017e8b8124bdde3a85db910b88cd5b10.tar.xz
urpmi-b3844827017e8b8124bdde3a85db910b88cd5b10.zip
let perl_checker be able to update translation catalogs
-rwxr-xr-xurpmi.update4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi.update b/urpmi.update
index 75fe371b..1ed9eea8 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -91,8 +91,8 @@ if ($options{all} && !defined $options{ignore}) {
}
if (defined $options{ignore}) {
- $urpm->{log}(N($options{ignore} ? "ignoring media %s" : "enabling media %s",
- join(", ", map { N("\"%s\"", $_->{name}) } grep { $_->{modified} } @{$urpm->{media}})));
+ my $str = join(", ", map { N("\"%s\"", $_->{name}) } grep { $_->{modified} } @{$urpm->{media}});
+ $urpm->{log}($options{ignore} ? N("ignoring media %s", $str) : N("enabling media %s", $str));
$urpm->write_config;
} else {
$urpm->update_media(%options, callback => \&urpm::download::sync_logger);