diff options
author | Francois Pons <fpons@mandriva.com> | 2001-12-13 11:18:28 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-12-13 11:18:28 +0000 |
commit | c76f6078c8bc75cefeaa1353cbc9b4dce09ddc75 (patch) | |
tree | 4713f475c90328ef93bbc2737d11c29aecd1578b /urpmi.removemedia | |
parent | b33f8e3ec2fe1d7327e9b1f7d353433a0009ef9b (diff) | |
download | urpmi-c76f6078c8bc75cefeaa1353cbc9b4dce09ddc75.tar urpmi-c76f6078c8bc75cefeaa1353cbc9b4dce09ddc75.tar.gz urpmi-c76f6078c8bc75cefeaa1353cbc9b4dce09ddc75.tar.bz2 urpmi-c76f6078c8bc75cefeaa1353cbc9b4dce09ddc75.tar.xz urpmi-c76f6078c8bc75cefeaa1353cbc9b4dce09ddc75.zip |
3.1
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}); } |