diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-09-03 18:23:07 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-09-03 18:23:07 +0000 |
commit | 5a6bdbc17631cb7ac32dbfe7e0b6dfa21feb4646 (patch) | |
tree | 4ef6d3d90a851d905832d74fe6229a7369724302 /edit-urpm-sources.pl | |
parent | 2ced78526c559c754255ea3ef6f492bf4ad46577 (diff) | |
download | rpmdrake-5a6bdbc17631cb7ac32dbfe7e0b6dfa21feb4646.tar rpmdrake-5a6bdbc17631cb7ac32dbfe7e0b6dfa21feb4646.tar.gz rpmdrake-5a6bdbc17631cb7ac32dbfe7e0b6dfa21feb4646.tar.bz2 rpmdrake-5a6bdbc17631cb7ac32dbfe7e0b6dfa21feb4646.tar.xz rpmdrake-5a6bdbc17631cb7ac32dbfe7e0b6dfa21feb4646.zip |
fix not reporting any error when updating of
media fail (#5212)
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-x | edit-urpm-sources.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index aaef7e43..6b80e3da 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -163,7 +163,7 @@ really want to replace it?"), yesno => 1) or return 0; $urpm->select_media($i{name}); $urpm->remove_selected_media; } - add_medium_and_check($urpm, N("Please wait, adding medium..."), + add_medium_and_check($urpm, { probe_with => $probe }, $i{name}, $make_url{$type}, $i{hdlist}, update => $type eq 'security'); return 1; @@ -212,7 +212,7 @@ sub edit_callback { standalone::explanations("Removing medium $name"); $urpm->select_media($name); $urpm->remove_selected_media; - add_medium_and_check($urpm, N("Please wait, updating medium..."), {}, $name, $url, $with_hdlist, update => $update); + add_medium_and_check($urpm, {}, $name, $url, $with_hdlist, update => $update); return 1; } return 0; |