projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1933e37
)
set rebuild before loading plugins
author
Joey Hess
<joey@kodama.kitenet.net>
Wed, 4 Jun 2008 19:22:41 +0000
(15:22 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Wed, 4 Jun 2008 19:22:41 +0000
(15:22 -0400)
This fixes a recent minor reversion caused by loading plugins earlier than
the messages are printed. Some plugins might check if rebuild is set.
IkiWiki/Setup/Standard.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Setup/Standard.pm
b/IkiWiki/Setup/Standard.pm
index fb542be20d80dcca05ac7560b35c17e1932f3b32..0a34968855a2cd26ac4609d27b73b2d0e440ea76 100644
(file)
--- 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 {