summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xikiwiki.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/ikiwiki.in b/ikiwiki.in
index 0390df7e1..d8e848f87 100755
--- a/ikiwiki.in
+++ b/ikiwiki.in
@@ -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}) {