Regexp map types don't need to be re-generated

This commit is contained in:
Jamie Cameron
2008-11-11 19:11:52 +00:00
parent 8fc5fe6644
commit 2705d884ee

View File

@@ -680,7 +680,8 @@ sub regenerate_any_table
foreach $map (@files)
{
next unless $map;
if (&file_map_type($map->[0])) {
if (&file_map_type($map->[0]) &&
$map->[0] ne 'regexp' && $map->[0] ne 'pcre') {
local $out = &backquote_logged("$config{'postfix_lookup_table_command'} -c $config_dir $map->[0]:$map->[1] 2>&1");
if ($?) { &error(&text('regenerate_table_efailed', $map->[1], $out)); }
}