From 445ad91767026626762bf3aa13562ad81b88cf3b Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Fri, 15 Apr 2016 18:28:12 +0200 Subject: [PATCH] Bug 15303 QA-Followup: check_letsencrypt only if --letsencrypt is used Signed-off-by: Jonathan Druart --- debian/scripts/koha-create | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index 850e5d4..8525143 100755 --- a/debian/scripts/koha-create +++ b/debian/scripts/koha-create @@ -577,7 +577,9 @@ opacdomain="$OPACPREFIX$name$OPACSUFFIX$DOMAIN" intradomain="$INTRAPREFIX$name$INTRASUFFIX$DOMAIN" # Check everything is ok with letsencrypt, die otherwise -check_letsencrypt +if [ "$CLO_LETSENCRYPT" = "yes" ]; then + check_letsencrypt +fi if [ -f $PASSWDFILE ] && [ `cat $PASSWDFILE | grep "^$name:"` ] then -- 2.7.0