checkconfig before wrapper setup

Necessary now that the plugins control what wrappers are built.
master
Joey Hess 2008-07-27 01:52:36 -04:00
parent 3d139e4312
commit 6040886c72
1 changed files with 4 additions and 3 deletions

View File

@ -116,6 +116,10 @@ sub main () { #{{{
if ($config{setup}) {
require IkiWiki::Setup;
IkiWiki::Setup::load($config{setup});
loadplugins();
checkconfig();
if (@{$config{wrappers}} &&
! $config{render} && ! $config{dumpsetup} &&
(! $config{refresh} || $config{genwrappers})) {
@ -148,9 +152,6 @@ sub main () { #{{{
# ignore syslog setting from setup file
# while doing initial setup
$config{syslog}=0 unless $config{dumpsetup};
loadplugins();
checkconfig();
}
if ($config{dumpsetup}) {