Skip to content

Commit

Permalink
Item13560: Don't check Spec files if bootstrapping.
Browse files Browse the repository at this point in the history
This was noise to the new install. If foswiki is bootstrapping, then
there is no reason to compare .spec file timestamps to that of a
non-existant LocalSite.cfg.
  • Loading branch information
gac410 committed Sep 8, 2015
1 parent 6fbd385 commit c4703e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/lib/Foswiki/Configure/Checkers/ExtensionsRepositories.pm
Expand Up @@ -61,6 +61,10 @@ sub check_current_value {
);
}

return
if ( $Foswiki::cfg{isBOOTSTRAPPING} )
; #Spec check not needed if no config yet.

my $specChanged;
foreach my $ext ( Foswiki::Configure::Load::specChanged() ) {
my $specfile = ( $ext eq 'the core' ) ? 'Foswiki.spec' : 'Config.spec';
Expand Down

0 comments on commit c4703e9

Please sign in to comment.