From: Joey Hess Date: Sat, 26 Jul 2008 23:11:31 +0000 (-0400) Subject: filter out demo plugins X-Git-Tag: 2.60~185 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bb872ea1e820f842c0b826fe802f8aac797a7146;p=ikiwiki.git filter out demo plugins --- diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm index d8547ba5f..e82425c71 100644 --- a/IkiWiki/Setup/Standard.pm +++ b/IkiWiki/Setup/Standard.pm @@ -80,7 +80,7 @@ sub gendump ($) { #{{{ push @ret, dumpvalues(\%setup, IkiWiki::getsetup()); # Load all plugins, so that all setup options are available. - my @plugins=sort(IkiWiki::listplugins()); + my @plugins=grep { ! /externaldemo|pythondemo/ } sort(IkiWiki::listplugins()); foreach my $plugin (@plugins) { eval { IkiWiki::loadplugin($plugin) }; if (exists $IkiWiki::hooks{checkconfig}{$plugin}{call}) {