@@ -, +, @@ installs - On kohadevbox, run: $ sudo koha-shell kohadev -c "perl misc4dev/populate_db.pl" - Apply this patch - Replace /usr/bin/koha-shell with debian/scripts/koha-shell $ sudo cp kohaclone/debian/scripts/koha-shell /usr/bin/koha-shell - Run: $ sudo koha-shell kohadev -c "perl misc4dev/populate_db.pl" - Sign off :-D --- debian/scripts/koha-shell | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/debian/scripts/koha-shell +++ a/debian/scripts/koha-shell @@ -83,7 +83,11 @@ sub read_perl5lib { $result =~ s/^PERL5LIB=\s*//; my $dev_install = `xmlstarlet sel -t -v 'yazgfs/config/dev_install' /etc/koha/sites/$instance/koha-conf.xml`; chomp $dev_install; - return $dev_install || $result; + if ( $dev_install ) { + # pick PERL5LIB from the intranetdir entry + $result = `xmlstarlet sel -t -v "yazgfs/config/intranetdir" /etc/koha/sites/$instance/koha-conf.xml`; + } + return $result; } __DATA__ --