From 793f8467e98a72dc89376643b6f0d4a51345805c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 20 Oct 2008 08:20:33 +0000 Subject: - urpmi o fix --auto-update ignoring --media and default-media (#45097) --- urpm/media.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') diff --git a/urpm/media.pm b/urpm/media.pm index e0e3ca5a..1cf99072 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -641,7 +641,7 @@ sub _auto_update_media { $options{callback} = delete $options{download_callback}; my $errors; - foreach (grep { $_->{force_auto_update} || _is_remote_virtual($_) } + foreach (grep { $_->{force_auto_update} || _is_remote_virtual($_) || $urpm->{options}{'auto-update'} } non_ignored_media($urpm, $options{update})) { _update_medium($urpm, $_, %options) or $errors++; } -- cgit v1.2.1