summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-10-03 13:30:05 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-10-03 13:30:05 +0000
commit4738ea615da13b03bc03d2d5ace833c1a61bdbf8 (patch)
tree4c8092e7df8633f8f54a5c9039428ad254056586 /urpm.pm
parent47c40b1121d0a764459cc9ce3709febda4707028 (diff)
downloadurpmi-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.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 09ebbf52..36523c41 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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->{$_};
}
}