summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-09-03 13:01:12 +0000
committerThierry Vignaud <tv@mandriva.org>2009-09-03 13:01:12 +0000
commitaf4242ac3160f77383a0e0bae7a074a7131375e7 (patch)
tree5c63d30d571d1e445b7742b91bc9647cc4de5d9a
parentcba0acbac7628de5d4aa8cd74dfaf2c02a098aeb (diff)
downloadurpmi-af4242ac3160f77383a0e0bae7a074a7131375e7.tar
urpmi-af4242ac3160f77383a0e0bae7a074a7131375e7.tar.gz
urpmi-af4242ac3160f77383a0e0bae7a074a7131375e7.tar.bz2
urpmi-af4242ac3160f77383a0e0bae7a074a7131375e7.tar.xz
urpmi-af4242ac3160f77383a0e0bae7a074a7131375e7.zip
missing argument
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 5d935590..4fa6c6d9 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1069,7 +1069,7 @@ sub _cleanup_mediacfg_dir {
_remove_medium_from_mediacfg($urpm, $dir, $medium->{mirrorlist}, 1);
}
} elsif ($medium->{url}) {
- if (!grep { $_->{url} eq $medium->{url} } @{$urpm->{media}}) {
+ if (!grep { $_->{url} eq $medium->{url} } @{$urpm->{media}}, 0) {
_remove_medium_from_mediacfg($urpm, $dir, $medium->{url});
}
}