Bugzilla – Attachment 64555 Details for
Bug 14533
koha-create --use-db option shouldn't create any db or db user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14533: Deal with comment #2
Bug-14533-Deal-with-comment-2.patch (text/plain), 1.10 KB, created by
Mark Tompsett
on 2017-06-22 19:31:03 UTC
(
hide
)
Description:
Bug 14533: Deal with comment #2
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-06-22 19:31:03 UTC
Size:
1.10 KB
patch
obsolete
>From d644d10989b07f1d8a30eb96cfd79f1168b07b5d Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Thu, 22 Jun 2017 19:26:33 +0000 >Subject: [PATCH] Bug 14533: Deal with comment #2 > >--- > debian/scripts/koha-create | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 4e9aa40..68c7dcd 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -556,6 +556,19 @@ name="$1" > > set_upload_path $name > >+if [ "$op" = use ] && [ "$CLO_DATABASE" = "" ] && >+ ( [ ! -f "$PASSWDFILE" ] || [ ! `cat $PASSWDFILE | grep "^$name:"` ] ) >+then >+ cat <<NO_DB >+--use-db must have a database name. It can be specified in a readable >+password file ($PASSWDFILE). Using --passwdfile overrides the default >+/usr/koha/passwd file. Each line of a passwd file should be in the format of: >+ instance:username:password:dbname >+A database name can also be specified using '--database dbname'. >+NO_DB >+ die; >+fi >+ > if [ "$USE_MEMCACHED" = "yes" ]; then > set_memcached $name > elif [ "$CLO_MEMCACHED_SERVERS" != "" ] || \ >-- >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 14533
:
41424
|
64552
|
64554
|
64555
|
64712
|
64713
|
65920
|
65921