diff options
Diffstat (limited to 'urpmi.removemedia')
-rwxr-xr-x | urpmi.removemedia | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia index a173f248..d6e04cb4 100755 --- a/urpmi.removemedia +++ b/urpmi.removemedia @@ -45,7 +45,8 @@ where <name> is a medium name to remove. } @toremoves == 0 and die _("the entry to remove is missing\n(one of %s)\n", join(", ", @entries)); - $urpm->remove_media(@toremoves); + $urpm->select_media(@toremoves); + $urpm->remove_selected_media; $urpm->update_media(noclean => !$options{all}); } |