summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 99ee12e37..1b4df3c2f 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -149,8 +149,10 @@ Bugzilla->installation_answers($answers_file);
# Check and update --LOCAL-- configuration
###########################################################################
-print "Reading " . bz_locations()->{'localconfig'} . "...\n" unless $silent;
-update_localconfig({ output => !$silent, use_defaults => $switch{'default-localconfig'} });
+unless ($ENV{LOCALCONFIG_ENV}) {
+ print "Reading " . bz_locations()->{'localconfig'} . "...\n" unless $silent;
+ update_localconfig({ output => !$silent, use_defaults => $switch{'default-localconfig'} });
+}
my $lc_hash = Bugzilla->localconfig;
###########################################################################