diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2012-04-11 01:25:17 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2012-04-11 01:25:17 -0700 |
commit | f5c2f759d6a16c9d5e06a1b61ee2b9f7ba76554c (patch) | |
tree | 902e641e9e3a6d2d070be4158256b73d127e2f63 | |
parent | 2353f6a0b25dce109af00756c5e9fab8b6db6ac1 (diff) | |
download | piny-code-f5c2f759d6a16c9d5e06a1b61ee2b9f7ba76554c.tar.gz piny-code-f5c2f759d6a16c9d5e06a1b61ee2b9f7ba76554c.zip |
pinyadmin: newrepo: use full Piny::Repo rebuild();
This fixes a bug where apache_rebuild was skipped.
-rwxr-xr-x | pinyadmin/sbin/newrepo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pinyadmin/sbin/newrepo b/pinyadmin/sbin/newrepo index 8f13873..ef42b0e 100755 --- a/pinyadmin/sbin/newrepo +++ b/pinyadmin/sbin/newrepo @@ -83,8 +83,6 @@ if( defined( $remote ) ) { $repo = Piny::Repo->create( $name, $description ); }; -$repo->rebuild_git; - if ( defined( $ikiwiki ) ) { $repo->config->piny_ikiwiki( $ikiwiki ); if ( $repo->config->piny_ikiwiki ne $ikiwiki ) { @@ -92,6 +90,8 @@ if ( defined( $ikiwiki ) ) { }; }; +$repo->rebuild; + if ( $repo->config->piny_ikiwiki ) { $repo->rebuild_ikiwiki; print( "Repo URL: " . $repo->ikiwiki_url . "\n" ); |