Test domain gets modified
This commit is contained in:
parent
cf4e137c25
commit
d24d6ba000
|
@ -165,11 +165,13 @@ function nginx_keybase {
|
||||||
function test_domain_name {
|
function test_domain_name {
|
||||||
if [ $1 ]; then
|
if [ $1 ]; then
|
||||||
TEST_DOMAIN_NAME=$1
|
TEST_DOMAIN_NAME=$1
|
||||||
function_check validate_domain_name
|
if [[ $TEST_DOMAIN_NAME != 'ttrss' ]]; then
|
||||||
validate_domain_name
|
function_check validate_domain_name
|
||||||
if [[ $TEST_DOMAIN_NAME != $1 && $TEST_DOMAIN_NAME != 'ttrss' ]]; then
|
validate_domain_name
|
||||||
echo $"Invalid domain name $TEST_DOMAIN_NAME"
|
if [[ $TEST_DOMAIN_NAME != $1 ]]; then
|
||||||
exit 8528
|
echo $"Invalid domain name $TEST_DOMAIN_NAME"
|
||||||
|
exit 8528
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue