diff options
Diffstat (limited to 'urpm/media.pm')
-rw-r--r-- | urpm/media.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/media.pm b/urpm/media.pm index 5d788f5a..2769c33d 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -998,12 +998,12 @@ sub reconfig_urpmi { my ($urpm, $rfile, $medium) = @_; -r $rfile or return; - $urpm->{log}(N("reconfiguring urpmi for media \"%s\"", $medium->{name})); - my ($magic, @lines) = cat_($rfile); #- the first line of reconfig.urpmi must be magic, to be sure it's not an error file $magic =~ /^# this is an urpmi reconfiguration file/ or return undef; + $urpm->{log}(N("reconfiguring urpmi for media \"%s\"", $medium->{name})); + my @replacements; foreach (@lines) { chomp; |