Blob Blame Raw
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 203da3b..4725d80 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -599,7 +599,7 @@ sub loadplugin ($;$) {
 	return if ! $force && grep { $_ eq $plugin} @{$config{disable_plugins}};
 
 	foreach my $dir (defined $config{libdir} ? possibly_foolish_untaint($config{libdir}) : undef,
-	                 "$installdir/lib/ikiwiki") {
+	                 "$installdir/libexec/ikiwiki") {
 		if (defined $dir && -x "$dir/plugins/$plugin") {
 			eval { require IkiWiki::Plugin::external };
 			if ($@) {