diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-26 19:11:31 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-26 19:11:31 -0400 |
commit | bb872ea1e820f842c0b826fe802f8aac797a7146 (patch) | |
tree | 56d2576c47a69c8ea233425ecdd09aa47854ca9f /IkiWiki | |
parent | 52bbdbb1a5ce994c9afac253c1d9bfd94acf4d1d (diff) |
filter out demo plugins
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Setup/Standard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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}) { |