Bugzilla – Attachment 48187 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.24 KB, created by
Mark Tompsett
on 2016-02-17 14:59:39 UTC
(
hide
)
Description:
Bug 15088 - Follow for koha-create
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2016-02-17 14:59:39 UTC
Size:
1.24 KB
patch
obsolete
>From 8add1d4a2173461268d516e58ef3045b0504a2c9 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. >--- > 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 ef6891f..21f7374 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -687,12 +687,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" > >@@ -702,6 +696,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