summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-12 08:48:18 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-12 08:48:18 +0000
commit39b8eca775908d6ecab0421d1383b8c1407f27e0 (patch)
tree0b87ea7a7ccb2681eb62660cf967cd88614b96a2 /urpm.pm
parent1860451d7799f2f5856c2965505e761c87dd2d90 (diff)
downloadurpmi-39b8eca775908d6ecab0421d1383b8c1407f27e0.tar
urpmi-39b8eca775908d6ecab0421d1383b8c1407f27e0.tar.gz
urpmi-39b8eca775908d6ecab0421d1383b8c1407f27e0.tar.bz2
urpmi-39b8eca775908d6ecab0421d1383b8c1407f27e0.tar.xz
urpmi-39b8eca775908d6ecab0421d1383b8c1407f27e0.zip
Make urpmi correctly remember the "noreconfigure" option. Introduce code
for a boolean option "static"
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 312be4fb..631a943a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -172,6 +172,7 @@ sub read_config {
list
md5sum
noreconfigure
+ static
priority
removable
synthesis
@@ -387,7 +388,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 ignore synthesis virtual)) {
+ foreach (qw(hdlist with_hdlist list removable key-ids priority priority-upgrade update noreconfigure static ignore synthesis virtual)) {
defined $medium->{$_} and $config->{$medium_name}{$_} = $medium->{$_};
}
}