22e73b5
diff -up ikiwiki/IkiWiki.pm.orig ikiwiki/IkiWiki.pm
22e73b5
--- ikiwiki/IkiWiki.pm.orig	2014-12-16 09:11:12.000000000 +0100
22e73b5
+++ ikiwiki/IkiWiki.pm	2015-02-23 00:26:11.553052577 +0100
22e73b5
@@ -773,7 +773,7 @@ sub loadplugin ($;$) {
22e73b5
 
6ff102f
 	return if ! $force && grep { $_ eq $plugin} @{$config{disable_plugins}};
e886e0f
 
22e73b5
-	foreach my $possiblytainteddir (getlibdirs(), "$installdir/lib/ikiwiki") {
22e73b5
+	foreach my $possiblytainteddir (getlibdirs(), "$installdir/libexec/ikiwiki") {
22e73b5
 		my $dir = possibly_foolish_untaint($possiblytainteddir);
e886e0f
 		if (defined $dir && -x "$dir/plugins/$plugin") {
e886e0f
 			eval { require IkiWiki::Plugin::external };