]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
filter out demo plugins
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 26 Jul 2008 23:11:31 +0000 (19:11 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 26 Jul 2008 23:11:31 +0000 (19:11 -0400)
IkiWiki/Setup/Standard.pm

index d8547ba5f9a65b73bb2405690d35366e76cfb2b6..e82425c71162c54aa1eac24fa9f1c4574a6e8a74 100644 (file)
@@ -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}) {