From 7ea8df24b32a36687cfea94e2b84272777562325 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 3 Jul 2006 21:29:56 +0000 Subject: * Introduce add_plugins and disable_plugins config options in setup files. This allows adding or removing plugins w/o overriding the whole list of default plugins, which makes it easier to upgrade when new default plugins are added. --- ikiwiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ikiwiki') diff --git a/ikiwiki b/ikiwiki index f32eb4879..099a821b7 100755 --- a/ikiwiki +++ b/ikiwiki @@ -57,7 +57,7 @@ sub getconfig () { #{{{ push @{$config{plugin}}, $_[1]; }, "disable-plugin=s@" => sub { - $config{plugin}=[grep { $_ ne $_[1] } @{$config{plugin}} ]; + $config{plugin}=[grep { $_ ne $_[1] } @{$config{plugin}}]; }, "pingurl" => sub { push @{$config{pingurl}}, $_[1]; -- cgit v1.2.3