From da9a1bc6476732edf6579e655f7183ae71435c68 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..1578b2d 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 <