summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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->{$_};
}
}