From d5f0da87ca3752c6c36d7fe5baf290fa26f2db7d Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 14 May 2019 15:01:40 +0200 Subject: [PATCH] Fix error in case of gitlab installation. --- install_dehydrated.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install_dehydrated.sh b/install_dehydrated.sh index 1f6ac88..9fe8b3a 100755 --- a/install_dehydrated.sh +++ b/install_dehydrated.sh @@ -316,8 +316,6 @@ else warn "This Type of Webserver Installation is not yet available" fi -HOST_NAME=git.warenform.de - echo "" echo "" @@ -643,7 +641,7 @@ EOF echo_skipped fi - if [[ ! -d "/var/lib/dehydrated/certs/${HOST_NAME}" ]]; then + if [[ -d "/var/lib/dehydrated/certs/${HOST_NAME}" ]]; then echononl " Adjust ${GITLAB_CONF_FILE} - nginx['redirect_http_to_https']"