Bugzilla – Attachment 64713 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.15 KB, created by
Lee Jamison
on 2017-06-28 22:17:50 UTC
(
hide
)
Description:
Bug 14533: Deal with comment #2
Filename:
MIME Type:
Creator:
Lee Jamison
Created:
2017-06-28 22:17:50 UTC
Size:
1.15 KB
patch
obsolete
>From 2a52fc6d91093190cdfc64bedac5cbad212da374 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 > >Signed-off-by: Lee Jamison <ldjamison@marywood.edu> >--- > 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