diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-10-03 13:30:05 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> | 2006-10-03 13:30:05 +0000 |
commit | 4738ea615da13b03bc03d2d5ace833c1a61bdbf8 (patch) | |
tree | 4c8092e7df8633f8f54a5c9039428ad254056586 /urpm.pm | |
parent | 47c40b1121d0a764459cc9ce3709febda4707028 (diff) | |
download | urpmi-4738ea615da13b03bc03d2d5ace833c1a61bdbf8.tar urpmi-4738ea615da13b03bc03d2d5ace833c1a61bdbf8.tar.gz urpmi-4738ea615da13b03bc03d2d5ace833c1a61bdbf8.tar.bz2 urpmi-4738ea615da13b03bc03d2d5ace833c1a61bdbf8.tar.xz urpmi-4738ea615da13b03bc03d2d5ace833c1a61bdbf8.zip |
More adjustments in per-media config arguments: factorize lists
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -132,6 +132,7 @@ our @PER_MEDIA_OPT = qw( md5sum noreconfigure priority + priority-upgrade removable static synthesis @@ -406,7 +407,7 @@ sub write_config { next if $medium->{external}; my $medium_name = $medium->{name}; $config->{$medium_name}{url} = $medium->{clear_url}; - foreach (qw(hdlist with_hdlist list removable key-ids priority priority-upgrade update noreconfigure static ignore synthesis virtual downloader)) { + foreach (@PER_MEDIA_OPT) { defined $medium->{$_} and $config->{$medium_name}{$_} = $medium->{$_}; } } |