From 2687a6300c9dde4bae5af5711098aaa77ad64926 Mon Sep 17 00:00:00 2001 From: bucde Date: Thu, 23 Sep 2021 16:45:41 +0200 Subject: [PATCH] fix: correct else-if statement --- setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup b/setup index cacf5f9..f6da5c7 100755 --- a/setup +++ b/setup @@ -78,7 +78,7 @@ else while read line; do if [[ $line == *"GITEA_HOST_IP_ADDRESS="* ]]; then GITEA_HOST_IP_ADDRESS=$(echo $line | cut -c 23-) - else if [[ $line == *"GITEA_HOST_WEB_PORT="* ]]; then + elif [[ $line == *"GITEA_HOST_WEB_PORT="* ]]; then GITEA_HOST_WEB_PORT=$(echo $line | cut -c 21-) fi done < "config"