]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Setup/Standard.pm
* Patch from Recai to fix utf8 issues in git backend.
[git.ikiwiki.info.git] / IkiWiki / Setup / Standard.pm
index d42ceffa08d0767743d5036ab9b6948a2ffd19da..25f038a064ac8ceab4333f0d93ba13b1203262f2 100644 (file)
@@ -31,21 +31,16 @@ sub setup_standard {
                delete $setup{disable_plugins};
        }
 
                delete $setup{disable_plugins};
        }
 
-       if (! $config{refresh}) {
-               debug("generating wrappers..");
-               my @wrappers=@{$setup{wrappers}};
-               delete $setup{wrappers};
-               my %startconfig=(%config);
-               foreach my $wrapper (@wrappers) {
-                       %config=(%startconfig, verbose => 0, %setup, %{$wrapper});
-                       checkconfig();
-                       gen_wrapper();
-               }
-               %config=(%startconfig);
-       }
-       else {
-               delete $setup{wrappers};
+       debug("generating wrappers..");
+       my @wrappers=@{$setup{wrappers}};
+       delete $setup{wrappers};
+       my %startconfig=(%config);
+       foreach my $wrapper (@wrappers) {
+               %config=(%startconfig, verbose => 0, %setup, %{$wrapper});
+               checkconfig();
+               gen_wrapper();
        }
        }
+       %config=(%startconfig);
        
        foreach my $c (keys %setup) {
                if (defined $setup{$c}) {
        
        foreach my $c (keys %setup) {
                if (defined $setup{$c}) {