From bb872ea1e820f842c0b826fe802f8aac797a7146 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 26 Jul 2008 19:11:31 -0400 Subject: filter out demo plugins --- IkiWiki/Setup/Standard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) { -- cgit v1.2.3