aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-08-08 11:33:37 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-08-08 11:33:37 +0000
commitdb9bd973f7b7a13a27e174ab4cfbc6cfc41d4e6c (patch)
tree574fd47d90cac8a6b859d314c02ed4ed515157ce
parent558d1ed6a4015525c0bfe2f0ea2eac65df542444 (diff)
downloadrpmdrake-db9bd973f7b7a13a27e174ab4cfbc6cfc41d4e6c.tar
rpmdrake-db9bd973f7b7a13a27e174ab4cfbc6cfc41d4e6c.tar.gz
rpmdrake-db9bd973f7b7a13a27e174ab4cfbc6cfc41d4e6c.tar.bz2
rpmdrake-db9bd973f7b7a13a27e174ab4cfbc6cfc41d4e6c.tar.xz
rpmdrake-db9bd973f7b7a13a27e174ab4cfbc6cfc41d4e6c.zip
fix probe_with (urpmi changed name of option, but my recent
checkbutton get_active was also broken)
-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;
}