Don't consider the main domain
This commit is contained in:
parent
28b8ebc4da
commit
5cbfad1a5a
|
@ -323,7 +323,7 @@ function check_domains {
|
||||||
for d in "${domains_array[@]}"
|
for d in "${domains_array[@]}"
|
||||||
do
|
do
|
||||||
domain_param=$(echo "$d" | awk -F '=' '{print $1}')
|
domain_param=$(echo "$d" | awk -F '=' '{print $1}')
|
||||||
if [[ $domain_param != "DEFAULT_DOMAIN_NAME" ]]; then
|
if [[ "$domain_param" != "DEFAULT_DOMAIN_NAME" && "$domain_param" != "${PROJECT_NAME}.local" ]]; then
|
||||||
domain_value=$(echo "$d" | awk -F '=' '{print $2}')
|
domain_value=$(echo "$d" | awk -F '=' '{print $2}')
|
||||||
item_in_array "${domain_value}" "${checked_domains[@]}"
|
item_in_array "${domain_value}" "${checked_domains[@]}"
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue