summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.update')
-rwxr-xr-xurpmi.update4
1 files changed, 4 insertions, 0 deletions
diff --git a/urpmi.update b/urpmi.update
index 7698d324..229820b9 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -73,6 +73,10 @@ urpm::media::read_config($urpm, 'nocheck');
my @chosen_media;
+if ($options{all} || $options{update}) {
+ $options{allow_failures} = 1;
+}
+
if ($options{all} && !defined $options{ignore}) {
@chosen_media = @{$urpm->{media}}
or die N("nothing to update (use urpmi.addmedia to add a media)\n");