summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/cfg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index de4f641c..02f1f57e 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -154,7 +154,7 @@ sub load_config ($;$) {
/^key[-_]ids\s*:\s*['"]?(.*?)['"]?$/
and $config{$medium}{'key-ids'} = $1, next;
#- positive flags
- /^(update|ignore|synthesis|virtual|noreconfigure)$/
+ /^(update|ignore|synthesis|noreconfigure|static|virtual)$/
and $config{$medium}{$1} = 1, next;
my ($no, $k, $v);
#- boolean options
@@ -205,7 +205,7 @@ sub dump_config ($$) {
print $f "{\n";
}
foreach (sort grep { $_ && $_ ne 'url' } keys %{$config->{$m}}) {
- if (/^(update|ignore|synthesis|virtual)$/) {
+ if (/^(update|ignore|synthesis|noreconfigure|static|virtual)$/) {
print $f " $_\n";
} elsif ($_ ne 'priority') {
print $f " $_: " . substitute_back($config->{$m}{$_}, $config_old->{$m}{$_}) . "\n";