Bugzilla – Attachment 18620 Details for
Bug 9890
Fix the new plugin system for package installs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9890 - Fix koha-create and koha-create-dirs
Bug-9890---Fix-koha-create-and-koha-create-dirs.patch (text/plain), 2.18 KB, created by
Kyle M Hall (khall)
on 2013-06-03 11:50:35 UTC
(
hide
)
Description:
Bug 9890 - Fix koha-create and koha-create-dirs
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-06-03 11:50:35 UTC
Size:
2.18 KB
patch
obsolete
>From fd1e6f10820a1c465dbe84ae8d9df279da48b21d Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Mon, 27 May 2013 12:17:15 -0300 >Subject: [PATCH] Bug 9890 - Fix koha-create and koha-create-dirs >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >As noted in the bug, there were three things to do: > >1) koha-create: fill in __PLUGINS_DIR__ >2) leave the enable_plugins as off (at least for now) >3) koha-create-dirs: create the directory, set permissions (writeable by the koha user) > >- Fixed generate_config_file from koha-create so it correctly fills __PLUGINS_DIR__ in every installed file. >- koha-create-dirs now creates the relevant dir. >- enable_plugins is set to 0 currently, no action required here. > >Regarding the apache configurations, I'm not sure what you mean. > >Regards >To+ > >Edit: got some minutes to test and re-check and found that the substitution didn't put the right data. Fixed > >Sponsored-by: Universidad Nacional de Córdoba >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > debian/scripts/koha-create | 1 + > debian/scripts/koha-create-dirs | 1 + > 2 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 8211e1c..5bedbf8 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 06b7bff..52e2134 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" >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9890
:
16783
|
16791
|
18417
|
18564
|
18620
|
19200