From: Joey Hess Date: Wed, 4 Jun 2008 19:22:41 +0000 (-0400) Subject: set rebuild before loading plugins X-Git-Tag: 2.49~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a3d8f4904ecd3aef35bacc43845546dd352a7977;p=ikiwiki.git 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. --- 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 {