summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-22 15:27:11 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-22 15:27:11 +0000
commitf16f70c787d301cda28740ed0c52d7cecb5f2027 (patch)
tree5444fdfe759a418355626b55f2ea51a9e0a1b596
parent66f50c88902663eaf2a9d773a013c9e436b7bc28 (diff)
downloadurpmi-f16f70c787d301cda28740ed0c52d7cecb5f2027.tar
urpmi-f16f70c787d301cda28740ed0c52d7cecb5f2027.tar.gz
urpmi-f16f70c787d301cda28740ed0c52d7cecb5f2027.tar.bz2
urpmi-f16f70c787d301cda28740ed0c52d7cecb5f2027.tar.xz
urpmi-f16f70c787d301cda28740ed0c52d7cecb5f2027.zip
Don't update media if we're dealing with bug reports
-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,