Browse Source

fix: correct else-if statement

master
bucde 3 years ago
parent
commit
2687a6300c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      setup

+ 1
- 1
setup View File

@ -78,7 +78,7 @@ else
while read line; do while read line; do
if [[ $line == *"GITEA_HOST_IP_ADDRESS="* ]]; then if [[ $line == *"GITEA_HOST_IP_ADDRESS="* ]]; then
GITEA_HOST_IP_ADDRESS=$(echo $line | cut -c 23-) 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-) GITEA_HOST_WEB_PORT=$(echo $line | cut -c 21-)
fi fi
done < "config" done < "config"


Loading…
Cancel
Save