From d644d10989b07f1d8a30eb96cfd79f1168b07b5d Mon Sep 17 00:00:00 2001 From: Mark Tompsett 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 <