Bugzilla – Attachment 52004 Details for
Bug 15088
Notice when koha has been installed with --request-db instead of --create-db
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15088 - Follow for koha-create
Bug-15088---Follow-for-koha-create.patch (text/plain), 1.29 KB, created by
Chris Cormack
on 2016-06-03 13:31:48 UTC
(
hide
)
Description:
Bug 15088 - Follow for koha-create
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2016-06-03 13:31:48 UTC
Size:
1.29 KB
patch
obsolete
>From 07538bfc8abae33d33b07b24cf945f5f1eea0817 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 17 Feb 2016 09:13:46 -0500 >Subject: [PATCH] Bug 15088 - Follow for koha-create > >Logic in the koha-create was requiring a DEFAULTSQL to trigger. >This patch moves it, such that --create-db will be registered >all the time. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > debian/scripts/koha-create | 17 +++++++++++------ > 1 file changed, 11 insertions(+), 6 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 2bc1329..16f4eeb 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -767,12 +767,6 @@ SET password = '$staffdigest' > WHERE borrowernumber = $ADMINUSER; > eof > >- cat > "/etc/koha/sites/$name/createoptions" << eof >-# do not edit this file, it is for record keeping purposes only >-REQUEST_DB=0 >-eof >- >- > #` > echo "staff user password is '$staffpass' but keep that secret" > >@@ -782,6 +776,17 @@ eof > else > echo "Koha instance is empty, no staff user created." > fi >+ >+ if [ "$op" = create ] >+ then >+ >+ cat > "/etc/koha/sites/$name/createoptions" << eof >+# do not edit this file, it is for record keeping purposes only >+REQUEST_DB=0 >+eof >+ >+ fi >+ > fi > > >-- >2.1.4
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 15088
:
44347
|
48184
|
48186
|
48187
| 52004