summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-09-03 12:58:43 +0000
committerThierry Vignaud <tv@mandriva.org>2009-09-03 12:58:43 +0000
commitcfe9f8dd7e1c8bd6cf48141cb4f34644dd37b0b4 (patch)
treee1af704b0f1cd42ac2f1e9e45ffb2a6cc1b98707
parent0d7c78bc07cc6ec797be04c3e96e457084a3d3ed (diff)
downloadurpmi-cfe9f8dd7e1c8bd6cf48141cb4f34644dd37b0b4.tar
urpmi-cfe9f8dd7e1c8bd6cf48141cb4f34644dd37b0b4.tar.gz
urpmi-cfe9f8dd7e1c8bd6cf48141cb4f34644dd37b0b4.tar.bz2
urpmi-cfe9f8dd7e1c8bd6cf48141cb4f34644dd37b0b4.tar.xz
urpmi-cfe9f8dd7e1c8bd6cf48141cb4f34644dd37b0b4.zip
(_remove_medium_from_mediacfg) fix using actually given arguments... (#53097)
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index a5ac4c6a..7f06d4ab 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1038,7 +1038,7 @@ sub remove_selected_media {
}
sub _remove_medium_from_mediacfg {
- my ($urpm, $mediacfg_dir, $url, $is_mirrorlist);
+ my ($urpm, $mediacfg_dir, $url, $is_mirrorlist) = @_;
my $filename = $mediacfg_dir;
$filename .= $is_mirrorlist ? "/mirrorlist" : "/url";