summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-20 08:20:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-20 08:20:33 +0000
commit793f8467e98a72dc89376643b6f0d4a51345805c (patch)
tree814df872510dfb1c7bf028b5f4897f6fc88ad0c5 /urpm
parentd45c109c9150a453515522fab626fcc318ae36de (diff)
downloadurpmi-793f8467e98a72dc89376643b6f0d4a51345805c.tar
urpmi-793f8467e98a72dc89376643b6f0d4a51345805c.tar.gz
urpmi-793f8467e98a72dc89376643b6f0d4a51345805c.tar.bz2
urpmi-793f8467e98a72dc89376643b6f0d4a51345805c.tar.xz
urpmi-793f8467e98a72dc89376643b6f0d4a51345805c.zip
- urpmi
o fix --auto-update ignoring --media and default-media (#45097)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
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++;
}