diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-12-13 15:48:06 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-12-13 15:48:06 +0000 |
commit | b3844827017e8b8124bdde3a85db910b88cd5b10 (patch) | |
tree | c2da16b8ee2988b5083afb2c1599608c5c588ded /urpmi.update | |
parent | e77a18dfd41404c9d6d28597db08e09f6280fb2e (diff) | |
download | urpmi-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
Diffstat (limited to 'urpmi.update')
-rwxr-xr-x | urpmi.update | 4 |
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); |