From 15341aed015e4b23d0a1171779d5baa0414c4fad Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 2 Aug 2008 16:53:20 -0400 Subject: don't install demo external plugins by default --- IkiWiki/Setup.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'IkiWiki/Setup.pm') diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm index 73e32447c..d14be879d 100644 --- a/IkiWiki/Setup.pm +++ b/IkiWiki/Setup.pm @@ -77,9 +77,7 @@ sub getsetup () { #{{{ my @ret; # Load all plugins, so that all setup options are available. - # (But skip a few problematic external demo plugins.) - my @plugins=grep { ! /^(externaldemo|pythondemo|\Q$config{rcs}\E)$/ } - sort(IkiWiki::listplugins()); + my @plugins=grep { $_ ne $config{rcs} } sort(IkiWiki::listplugins()); unshift @plugins, $config{rcs} if $config{rcs}; # rcs plugin 1st foreach my $plugin (@plugins) { eval { IkiWiki::loadplugin($plugin) }; -- cgit v1.2.3