X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/01eeb89d59cc3d88712f6559acdaa51328756729..3989b04772f925298aecf83eed10a3bcd6b5c112:/doc/plugins/contrib/irker.mdwn?ds=sidebyside diff --git a/doc/plugins/contrib/irker.mdwn b/doc/plugins/contrib/irker.mdwn index bbc24e57d..9e1dabf7d 100644 --- a/doc/plugins/contrib/irker.mdwn +++ b/doc/plugins/contrib/irker.mdwn @@ -3,7 +3,7 @@ This plugin will configure your wiki to send IRC notifications using the [irker](http://www.catb.org/esr/irker/) notification bot. -It is fairly simple and requires no configuration but installation of the irker package. For template configuration, patches from [Debian bug #824512](https://bugs.debian.org/824512) are necessary. +It is fairly simple and requires no configuration but installation of the irker package. For template configuration, patches from [Debian bug #824512](https://bugs.debian.org/824512) are necessary. Note that they have been factored into irker 2.18. [[!format perl """ package IkiWiki::Plugin::irker; @@ -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');