diff options
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/libpiny/lib/Piny/Repo.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/libpiny/lib/Piny/Repo.pm b/usr/src/libpiny/lib/Piny/Repo.pm index 0661f2b..55e8007 100644 --- a/usr/src/libpiny/lib/Piny/Repo.pm +++ b/usr/src/libpiny/lib/Piny/Repo.pm @@ -108,7 +108,7 @@ has 'ikiwiki_srcdir' => , init_arg => undef ); -has 'url' => +has 'ikiwiki_url' => ( is => 'ro' , isa => 'Str' , lazy_build => 1 @@ -181,7 +181,7 @@ sub _rename_repo { $s->clear_ikiwiki_setup; $s->clear_ikiwiki_destdir; $s->clear_ikiwiki_srcdir; - $s->clear_url; + $s->clear_ikiwiki_url; $s->clear_ikiwiki_cgiurl; $s->clear_ikiwiki_historyurl; $s->clear_ikiwiki_cgipath; @@ -305,7 +305,7 @@ sub _build_ikiwiki_setup { $config->{"adminemail"} = $s->owner->email; $config->{"srcdir"} = $s->ikiwiki_srcdir; $config->{"destdir"} = $s->ikiwiki_destdir; - $config->{"url"} = $s->url; + $config->{"url"} = $s->ikiwiki_url; $config->{"cgiurl"} = $s->ikiwiki_cgiurl; $config->{"historyurl"} = $s->ikiwiki_historyurl; $config->{"diffurl"} = $s->ikiwiki_diffurl; @@ -350,7 +350,7 @@ sub _build_ikiwiki_srcdir { }; }; -sub _build_url { +sub _build_ikiwiki_url { my ( $s ) = @_; return "http://piny.be/" . $s->name; |