summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index ab6933d9..b96ba787 100755
--- a/urpmi
+++ b/urpmi
@@ -308,7 +308,7 @@ $urpm->configure(nocheck_access => $env || $< != 0,
usedistrib => $usedistrib,
);
-if ($auto_update) {
+if ($auto_update && !$bug && !$env) {
message(N("Updating media..."));
$urpm->update_media(
all => 1,