From 99800df196af735e66b0748296c5f17d8efc4df4 Mon Sep 17 00:00:00 2001 From: OlivierRaginel Date: Sun, 12 Sep 2010 15:00:06 +0000 Subject: [PATCH] Item1347: Do not remove comments or empty lines in the existing LocalSite.cfg. Some are useful. git-svn-id: http://svn.foswiki.org/branches/Release01x01@9019 0b4bb1d4-4e5a-0410-9cc4-b2b747904278 --- core/pseudo-install.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/pseudo-install.pl b/core/pseudo-install.pl index 522cd6b158..9dd01eb838 100755 --- a/core/pseudo-install.pl +++ b/core/pseudo-install.pl @@ -270,7 +270,7 @@ sub installFromMANIFEST { my $spec; my $localConfiguration = ''; while (<$lsc>) { - next if /^(?:1;|\s*|#.*)$/; + next if /^1;$/; $localConfiguration .= $_; if (m/^\$Foswiki::cfg{Plugins}{$module}{(\S+)}\s+=\s+(\S+);/) { if ( $1 eq 'Enabled' ) {