another sub, wow
[ikiwiki.git] / IkiWiki / Setup / Standard.pm
index 9aa9299ea366da17002716b03f10440e008d09e8..56ed5ab3b553e7f17b3b257cc82ee94049821770 100644 (file)
@@ -24,7 +24,7 @@ sub setup_standard {
        my %startconfig=(%config);
        foreach my $wrapper (@{$setup{wrappers}}) {
                %config=(%startconfig, verbose => 0, %setup, %{$wrapper});
-               checkoptions();
+               checkconfig();
                gen_wrapper();
        }
        %config=(%startconfig);
@@ -35,7 +35,9 @@ sub setup_standard {
                        if defined $setup{$c} && ! ref $setup{$c};
        }
        $config{rebuild}=1;
-       checkoptions();
+
+       checkconfig();
+       lockwiki();
        refresh();
 
        debug("done");