From 061eb659267925388d1902987efaf275e536f953 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 27 May 2013 12:17:15 -0300 Subject: [PATCH] Bug 9890: fix plugin handling by koha-create and koha-create-dirs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 1) koha-create: fill in __PLUGINS_DIR__ 2) koha-create-dirs: create the directory, set permissions (writeable by the koha user) Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Kyle M Hall Signed-off-by: Robin Sheat Signed-off-by: Galen Charlton --- debian/scripts/koha-create | 1 + debian/scripts/koha-create-dirs | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index 8211e1c678..5bedbf894c 100755 --- a/debian/scripts/koha-create +++ b/debian/scripts/koha-create @@ -51,6 +51,7 @@ generate_config_file() { -e "s/__DB_PASS__/$mysqlpwd/g" \ -e "s/__UNIXUSER__/$username/g" \ -e "s/__UNIXGROUP__/$username/g" \ + -e "s/__PLUGINS_DIR__/\/var\/lib\/koha\/$name\/plugins/g" \ "/etc/koha/$1" > "$2" } diff --git a/debian/scripts/koha-create-dirs b/debian/scripts/koha-create-dirs index 06b7bfffb2..52e21340e4 100755 --- a/debian/scripts/koha-create-dirs +++ b/debian/scripts/koha-create-dirs @@ -51,6 +51,7 @@ do userdir "$name" "/var/lib/koha/$name/biblios/register" userdir "$name" "/var/lib/koha/$name/biblios/shadow" userdir "$name" "/var/lib/koha/$name/biblios/tmp" + userdir "$name" "/var/lib/koha/$name/plugins" userdir "$name" "/var/lock/koha/$name" userdir "$name" "/var/lock/koha/$name/authorities" userdir "$name" "/var/lock/koha/$name/biblios" -- 2.39.2