summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-27 01:01:41 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-27 01:01:41 +0000
commitb33ef8c35b3ad6dc27d6c9ee0921111082349cb4 (patch)
treec5ab2312008087fa4d51adaf6c7e95482eb9d5d4 /urpm.pm
parent5e8ccd7040193698cf7e81eccdf17019fc911af0 (diff)
downloadurpmi-b33ef8c35b3ad6dc27d6c9ee0921111082349cb4.tar
urpmi-b33ef8c35b3ad6dc27d6c9ee0921111082349cb4.tar.gz
urpmi-b33ef8c35b3ad6dc27d6c9ee0921111082349cb4.tar.bz2
urpmi-b33ef8c35b3ad6dc27d6c9ee0921111082349cb4.tar.xz
urpmi-b33ef8c35b3ad6dc27d6c9ee0921111082349cb4.zip
Take into account priority when writing the configuration file
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 31419d14..ae505410 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -165,6 +165,7 @@ sub read_config {
list
md5sum
noreconfigure
+ priority
removable
synthesis
update
@@ -357,7 +358,7 @@ sub write_config {
foreach my $medium (@{$urpm->{media}}) {
my $medium_name = $medium->{name};
$config->{$medium_name}{url} = $medium->{clear_url};
- foreach (qw(hdlist with_hdlist list removable key-ids priority-upgrade update ignore synthesis virtual)) {
+ foreach (qw(hdlist with_hdlist list removable key-ids priority priority-upgrade update ignore synthesis virtual)) {
defined $medium->{$_} and $config->{$medium_name}{$_} = $medium->{$_};
}
}