diff options
-rwxr-xr-x | Rpmdrake/edit_urpm_sources.pm | 2 |
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); |