diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-27 13:25:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-27 13:25:56 +0000 |
commit | e495dce14dcb2f501964750806dd1200a3613c08 (patch) | |
tree | c3f87eb96501f196d5cec60b7c97f4c90d48f954 | |
parent | 4ef38cb8091231692ec3f80c1646f56d98d4414b (diff) | |
download | rpmdrake-e495dce14dcb2f501964750806dd1200a3613c08.tar rpmdrake-e495dce14dcb2f501964750806dd1200a3613c08.tar.gz rpmdrake-e495dce14dcb2f501964750806dd1200a3613c08.tar.bz2 rpmdrake-e495dce14dcb2f501964750806dd1200a3613c08.tar.xz rpmdrake-e495dce14dcb2f501964750806dd1200a3613c08.zip |
(remove_callback) fix removing a medium by immediately writing this change
back to config file (got broken when pixel converted this to new urpmi API)
-rwxr-xr-x | edit-urpm-sources.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index b2610d73..1d693dc0 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -370,6 +370,7 @@ sub remove_callback { my $wait = wait_msg_(N("Please wait, removing medium...")); urpm::media::remove_media($urpm, [ $urpm->{media}[$row] ]); + urpm::media::write_urpmi_cfg($urpm); remove_wait_msg($wait); return 1 } |