diff options
Diffstat (limited to 'libpiny')
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index d25c3e7..3bb275d 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -433,11 +433,13 @@ sub create { $repo->rebuild_git; + $repo = $class->new( $name ); + if ( $repo->config->piny_ikiwiki =~ /^(1|true)$/ ) { $repo->rebuild_ikiwiki; }; - return $class->new( $name ); + return $repo; }; # Builder methods |