aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xedit-urpm-sources.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index e2fc0347..8186d41d 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -161,7 +161,7 @@ really want to replace it?"), yesno => 1) or return 0;
$urpm->remove_selected_media;
}
add_medium_and_check($urpm, N("Please wait, adding medium..."),
- { probe_with_hdlist => $info->{hdlist_check}->get_active && $i{hdlist} eq '' },
+ { probe_with => !$info->{hdlist_check}->get_active || $i{hdlist} eq '' },
$i{name}, $make_url{$type}, $i{hdlist}, update => $type eq 'security');
return 1;
}