X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/01eeb89d59cc3d88712f6559acdaa51328756729..7269c9af3e55dc478792d8ea010ab9b794190a66:/doc/plugins/contrib/irker.mdwn diff --git a/doc/plugins/contrib/irker.mdwn b/doc/plugins/contrib/irker.mdwn index bbc24e57d..603ee0dd8 100644 --- a/doc/plugins/contrib/irker.mdwn +++ b/doc/plugins/contrib/irker.mdwn @@ -108,14 +108,14 @@ sub genwrapper() { symlink($config{'irker_hook'}, $repo . '/hooks/post-receive') || error('failed to symlink: $!'); } my $channels = join(",", @{$config{'irker_channels'}}); - exec { 'git' } ('config', '-C', $repo, 'config', 'irker.channels', $channels); - exec { 'git' } ('config', '-C', $repo, 'config', 'irker.channels', $config{'wikiname'}); + system { 'git' } ('config', '-C', $repo, 'config', 'irker.channels', $channels); + system { 'git' } ('config', '-C', $repo, 'config', 'irker.channels', $config{'wikiname'}); if ($config{'irker_template'}) { exec { 'git' } ('config', '-C', $repo, 'config', 'irker.channels', $config{'irker_template'}); } } else { - exec { 'git' } ('config', '-C', $repo, 'config', '--remove-section', 'irker'); + system { 'git' } ('config', '-C', $repo, 'config', '--remove-section', 'irker'); if (-l $repo . '/hooks/post-receive' && readlink($repo . '/hooks/post-receive') =~ m/irkerhook/) { unlink($repo . '/hooks/post-receive');