From b4c844b124f976efb84d66c89848708fd31bc636 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 06:30:12 +0000 Subject: [PATCH] library: pass PERL5LIB to bootstrap (koha-shell used to set it) Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_013wi3ZSot4XbUViwRFgLpRf --- library/koha/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/koha/entrypoint.sh b/library/koha/entrypoint.sh index 885a735..5067262 100755 --- a/library/koha/entrypoint.sh +++ b/library/koha/entrypoint.sh @@ -70,7 +70,7 @@ if [ "$TABLES" = "0" ]; then log "first start: installing Koha (about a minute)..." # (not koha-shell -c: it wraps the command in single quotes of its own) runuser -u "$INST-koha" -- env \ - KOHA_CONF="/etc/koha/sites/$INST/koha-conf.xml" \ + KOHA_CONF="/etc/koha/sites/$INST/koha-conf.xml" PERL5LIB=/usr/share/koha/lib \ KOHA_ADMIN_USER="${KOHA_ADMIN_USER:-admin}" KOHA_ADMIN_PASS="$KOHA_ADMIN_PASS" \ KOHA_LIBRARY_NAME="${KOHA_LIBRARY_NAME:-My Library}" TZ="$TZ" \ perl /opt/koha-init/bootstrap.pl