summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index 6bc2d1b8..61f3bfd1 100755
--- a/urpmi
+++ b/urpmi
@@ -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) {