summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-04 15:22:41 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-04 15:22:41 -0400
commita3d8f4904ecd3aef35bacc43845546dd352a7977 (patch)
treeb4744572e36585e45ccb71c94de4bc305e10de8e /IkiWiki/Setup
parent1933e3732c03cec44b28611d5436cddddd6f1669 (diff)
set rebuild before loading plugins
This fixes a recent minor reversion caused by loading plugins earlier than the messages are printed. Some plugins might check if rebuild is set.
Diffstat (limited to 'IkiWiki/Setup')
-rw-r--r--IkiWiki/Setup/Standard.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index fb542be20..0a3496885 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -64,6 +64,10 @@ sub setup_standard {
}
}
+ if (! $config{refresh}) {
+ $config{rebuild}=1;
+ }
+
loadplugins();
checkconfig();
@@ -72,7 +76,6 @@ sub setup_standard {
}
if (! $config{refresh}) {
- $config{rebuild}=1;
debug(gettext("rebuilding wiki.."));
}
else {