--- TEMPLATE_installer.pl.orig 2006-07-26 13:29:45.000000000 -0300 +++ TEMPLATE_installer.pl 2006-07-26 13:30:54.000000000 -0300 @@ -332,9 +332,11 @@ if( -e "lib/LocalSite.cfg" ) { open(F, "; close(F); + $/ = $separator; # kill the old settings (and previous comment) if any are there foreach my $setting ( keys %keys ) { if( $key ) { @@ -361,9 +363,11 @@ # LocalSite.cfg from TWiki.cfg unless( $dakar ) { open(F, "; close(F); + $/ = $separator; unless( $txt =~ /^do.*LocalSite\.cfg/m ) { $txt =~ s/^\s*1\s*;\s*$//m; open(F, ">lib/TWiki.cfg") ||