diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-20 08:20:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-20 08:20:33 +0000 |
commit | 793f8467e98a72dc89376643b6f0d4a51345805c (patch) | |
tree | 814df872510dfb1c7bf028b5f4897f6fc88ad0c5 /urpmi | |
parent | d45c109c9150a453515522fab626fcc318ae36de (diff) | |
download | urpmi-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 'urpmi')
-rwxr-xr-x | urpmi | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -345,20 +345,7 @@ if ($urpm->{root}) { $urpm->{options}{'priority-upgrade'} = '' if !$ENV{TESTING_priority_upgrade}; } if ($auto_update && !$bug && !$env) { - #- For translators : there are several media here - $urpm->{log}(N("Updating media...\n")); - urpm::media::read_config($urpm, ''); - urpm::media::update_media($urpm, - all => 1, - callback => \&urpm::download::sync_logger, - quiet => $options{verbose} < 0, - nomd5sum => $nomd5sum, - forcekey => $forcekey, - ); - delete $urpm->{media}; - $urpm->{depslist} = []; - $urpm->{provides} = {}; - $urpm->{obsoletes} = {}; + $urpm->{options}{'auto-update'} = 1; } urpm::media::configure($urpm, |