aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-27 13:25:56 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-27 13:25:56 +0000
commite495dce14dcb2f501964750806dd1200a3613c08 (patch)
treec3f87eb96501f196d5cec60b7c97f4c90d48f954
parent4ef38cb8091231692ec3f80c1646f56d98d4414b (diff)
downloadrpmdrake-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-xedit-urpm-sources.pl1
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
}