aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/open_db.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm
index d7b3de40..d3cf568d 100644
--- a/Rpmdrake/open_db.pm
+++ b/Rpmdrake/open_db.pm
@@ -91,6 +91,10 @@ sub fast_open_urpmi_db() {
};
urpm::media::read_config($urpm);
+ foreach (@{$urpm->{media}}) {
+ next if $_->{ignore};
+ urpm::media::_tempignore($_, 1) if $ignore_debug_media->[0] && $_->{name} =~ /debug/i;
+ }
# FIXME: seems uneeded with newer urpmi:
if ($error_happened) {
touch('/etc/urpmi/urpmi.cfg');