aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-06 15:02:32 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-06 15:02:32 +0000
commit16fff5c9b9274ed79a5572d9d5b5d126003dc803 (patch)
tree71821f92868b458ab5216bea4a587573a1293c4d
parent813d42986b19144c5f9268e52c840c53c2eaeddd (diff)
downloadrpmdrake-16fff5c9b9274ed79a5572d9d5b5d126003dc803.tar
rpmdrake-16fff5c9b9274ed79a5572d9d5b5d126003dc803.tar.gz
rpmdrake-16fff5c9b9274ed79a5572d9d5b5d126003dc803.tar.bz2
rpmdrake-16fff5c9b9274ed79a5572d9d5b5d126003dc803.tar.xz
rpmdrake-16fff5c9b9274ed79a5572d9d5b5d126003dc803.zip
(remove_callback) fix removing several medium (#29203)
-rwxr-xr-xRpmdrake/edit_urpm_sources.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 339acbb7..8e964ed6 100755
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -367,7 +367,7 @@ sub remove_callback() {
) or return;
my $wait = wait_msg(N("Please wait, removing medium..."));
- foreach my $row (@rows) {
+ foreach my $row (reverse(@rows)) {
$something_changed = 1;
urpm::media::remove_media($urpm, [ $urpm->{media}[$row] ]);
urpm::media::write_urpmi_cfg($urpm);