diff options
-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 613d75b..84eb0c9 100644 --- a/usr/src/libpiny/lib/Piny/Repo.pm +++ b/usr/src/libpiny/lib/Piny/Repo.pm @@ -232,7 +232,7 @@ sub rebuild { rename( $temp->filename, "/etc/ikiwiki/wikilist" ) or die "Could not rename over old wikilist: $!"; open( CGITLIST, ">", "/etc/cgitrc.d/" . $s->name ) or die "Could not create cgitrc.d file: $!"; - print CGITLIST "repo.url=" . $s->name . "\nrepo.path=" . $s->path . "\nrepo.desc=" . $s->description . "\nrepo.owner=" . $s->owner->email->address . "\n\n"; + print CGITLIST "repo.url=" . $s->name . "\nrepo.path=" . $s->path . "\nrepo.owner=" . $s->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: $!"; @@ -452,7 +452,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->address . "\n\n"; + print CGITLIST "repo.url=" . $repo->name . "\nrepo.path=" . $repo->path . "\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: $!"; |