installer: munge ZEBRA_PASS only when INSTALL_ZEBRA=yes

This commit is contained in:
Galen Charlton 2007-12-19 14:29:38 -06:00
parent d579648df1
commit 8342748377
1 changed files with 3 additions and 1 deletions

View File

@ -1165,7 +1165,9 @@ sub postamble {
# quote '$' in the two password parameters
my %config = %config;
$config{'DB_PASS'} =~ s/\$/\$\$/g;
$config{'ZEBRA_PASS'} =~ s/\$/\$\$/g;
if ($config{'INSTALL_ZEBRA'} eq "yes") {
$config{'ZEBRA_PASS'} =~ s/\$/\$\$/g;
}
# Hereagain, we must alter syntax per platform...
if ( $^O eq 'MSWin32' ) {