@@ -, +, @@ https://github.com/bywatersolutions/koha-plugin-kitchen-sink/releases/download/v2.1.42/koha-plugin-kitchen-sink-v2.1.42.kpz --- debian/scripts/koha-plack | 8 ++++++++ 1 file changed, 8 insertions(+) --- a/debian/scripts/koha-plack +++ a/debian/scripts/koha-plack @@ -336,6 +336,14 @@ _do_instance() { adjust_paths_dev_install $name PERL5LIB=$PERL5LIB:$KOHA_HOME/installer:$KOHA_HOME/lib/installer + + for dir in $(xmlstarlet sel -t -v 'yazgfs/config/pluginsdir' "/etc/koha/sites/${name}/koha-conf.xml"); do + PERL5LIB=$PERL5LIB:$dir + for lib in $(find $dir -name 'lib'); do + PERL5LIB=$PERL5LIB:$lib + done; + done; + # If debug mode is enabled, add the debugger lib path # to PERL5LIB if appropriate #FIXME: many of these variables should be set in a higher scope --