summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-09-03 13:10:05 +0000
committerThierry Vignaud <tv@mandriva.org>2009-09-03 13:10:05 +0000
commit849cb685fb51c3402fce56b14a2432bc40a6300d (patch)
tree99537aac8f1bc321b4e9db0b1f4e32be54c219e5 /urpm
parentb5fe0616fef29b56aceb68aade1d989765620388 (diff)
downloadurpmi-849cb685fb51c3402fce56b14a2432bc40a6300d.tar
urpmi-849cb685fb51c3402fce56b14a2432bc40a6300d.tar.gz
urpmi-849cb685fb51c3402fce56b14a2432bc40a6300d.tar.bz2
urpmi-849cb685fb51c3402fce56b14a2432bc40a6300d.tar.xz
urpmi-849cb685fb51c3402fce56b14a2432bc40a6300d.zip
revert bogus commit r259891
Diffstat (limited to 'urpm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index ed29f54d..ce93bb4d 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1071,7 +1071,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}}, 0) {
+ if (!grep { $_->{url} eq $medium->{url} } @{$urpm->{media}}) {
_remove_medium_from_mediacfg($urpm, $dir, $medium->{url}, 0);
}
}