diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-06-04 15:22:41 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-06-04 15:22:41 -0400 |
commit | a3d8f4904ecd3aef35bacc43845546dd352a7977 (patch) | |
tree | b4744572e36585e45ccb71c94de4bc305e10de8e /IkiWiki/Setup | |
parent | 1933e3732c03cec44b28611d5436cddddd6f1669 (diff) | |
download | ikiwiki-a3d8f4904ecd3aef35bacc43845546dd352a7977.tar ikiwiki-a3d8f4904ecd3aef35bacc43845546dd352a7977.tar.gz |
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.pm | 5 |
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 { |