diff options
author | Francois Pons <fpons@mandriva.com> | 2001-05-30 11:36:23 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-05-30 11:36:23 +0000 |
commit | 7206ec1e058eee304bcda3f1a83728f7c51cc4bb (patch) | |
tree | 61776c79e22b4882561d0017a92f407562e5b807 | |
parent | 4b551acfc3b4a06d5ec610b031a2fe5b6c2181cf (diff) | |
download | urpmi-7206ec1e058eee304bcda3f1a83728f7c51cc4bb.tar urpmi-7206ec1e058eee304bcda3f1a83728f7c51cc4bb.tar.gz urpmi-7206ec1e058eee304bcda3f1a83728f7c51cc4bb.tar.bz2 urpmi-7206ec1e058eee304bcda3f1a83728f7c51cc4bb.tar.xz urpmi-7206ec1e058eee304bcda3f1a83728f7c51cc4bb.zip |
make sure --auto disable medium change which are always refused in such case.
-rwxr-xr-x | urpmi | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -264,6 +264,7 @@ foreach (@$local_to_removes) { } my @sources = $urpm->upload_source_packages($local_sources, $list, ($X ? '' : 'force_local'), sub { + $auto and return; #- always refuse if automatic. my $msg = sprintf(_("Please insert the medium named \"%s\" on device [%s]"), @_); my $msg2 = _("Press enter when it's done..."); if ($X) { |