diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-07-07 16:09:13 -0700 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2010-07-07 16:09:13 -0700 |
commit | 0ba709ff2f7c8199de150fb0a2429bf74e89380e (patch) | |
tree | ab73d9262898605be0d6c4eb4e071690b3899259 /usr | |
parent | 2d81755f5d44121da15b4bb9d24553a5bece8e41 (diff) | |
download | piny-code-0ba709ff2f7c8199de150fb0a2429bf74e89380e.tar.gz piny-code-0ba709ff2f7c8199de150fb0a2429bf74e89380e.zip |
hurf durf
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/libpiny/lib/Piny/Repo.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/libpiny/lib/Piny/Repo.pm b/usr/src/libpiny/lib/Piny/Repo.pm index 4e99734..9a0a99b 100644 --- a/usr/src/libpiny/lib/Piny/Repo.pm +++ b/usr/src/libpiny/lib/Piny/Repo.pm @@ -317,7 +317,7 @@ sub create { rename( $temp->filename, "/etc/ikiwiki/wikilist" ) or die "Could not rename over old wikilist: $!"; open( CGITLIST, ">", "/etc/cgitrc.d/" . $repo->name ) or die "Could not create cgitrc.d file: $!"; - print CGITLIST "repo.url=" . $repo->name . "\nrepo.path=" . $repo->path . "\nrepo.desc=" . $repo->description . "\nrepo.owner=" . $repo->owner->email . "\n\n"; + print CGITLIST "repo.url=" . $repo->name . "\nrepo.path=" . $repo->path . "\nrepo.desc=" . $repo->description . "\nrepo.owner=" . $repo->owner->email->address . "\n\n"; close( CGITLIST ) or die "Could not close cgitrc.d file: $!"; $temp = File::Temp->new( ) or die "Could not create temporary file: $!"; @@ -413,7 +413,7 @@ sub _build_ikiwiki_setup { my ( $package, $config ) = readSetup( "/usr/share/libpiny/ikiwiki.setup" ); $config->{"wikiname"} = $s->name; - $config->{"adminemail"} = $s->owner->email; + $config->{"adminemail"} = $s->owner->email->address; $config->{"srcdir"} = $s->ikiwiki_srcdir; $config->{"destdir"} = $s->ikiwiki_destdir; $config->{"url"} = $s->ikiwiki_url; |