summaryrefslogtreecommitdiffstats
path: root/urpm/cfg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/cfg.pm')
-rw-r--r--urpm/cfg.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index 0c3b63a4..68421910 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -144,6 +144,7 @@ sub load_config_raw {
} elsif (/^(hdlist
|list
|with_hdlist
+ |with_synthesis
|media_info_dir
|removable
|md5sum
@@ -161,7 +162,9 @@ sub load_config_raw {
$block->{$1} = $2;
} elsif (/^key[-_]ids\s*:\s*['"]?(.*?)['"]?$/) {
$block->{'key-ids'} = $1;
- } elsif (/^(hdlist|$no_para_option_regexp)$/) {
+ } elsif (/^(hdlist|synthesis)$/) {
+ # ignored, kept for compatibility
+ } elsif (/^($no_para_option_regexp)$/) {
#- positive flags
$block->{$1} = 1;
} elsif (my ($no, $k, $v) =
@@ -229,8 +232,6 @@ sub dump_config_raw {
my @l = map {
if (/^($no_para_option_regexp)$/) {
$_;
- } elsif ($_ eq 'hdlist' && $m->{$_} eq '1') {
- $_;
} elsif ($_ ne 'priority') {
"$_: " . $substitute_back->($m, $_);
}