diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-19 12:16:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-19 12:16:49 +0000 |
commit | 3880463a92142896704deca4d341af93be762b84 (patch) | |
tree | 083ddaa4280c8f7bd74b0619ebe5d40fd4a9d038 /urpm/cfg.pm | |
parent | fa957b2abb16441c131d8242b22579ca63d70c01 (diff) | |
download | urpmi-3880463a92142896704deca4d341af93be762b84.tar urpmi-3880463a92142896704deca4d341af93be762b84.tar.gz urpmi-3880463a92142896704deca4d341af93be762b84.tar.bz2 urpmi-3880463a92142896704deca4d341af93be762b84.tar.xz urpmi-3880463a92142896704deca4d341af93be762b84.zip |
- all tools:
o drop hdlist support (will be replaced with xml media_info)
Diffstat (limited to 'urpm/cfg.pm')
-rw-r--r-- | urpm/cfg.pm | 7 |
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, $_); } |