Skip to content
Snippets Groups Projects
Commit d24d6ba0 authored by Bob Mottram's avatar Bob Mottram
Browse files

Test domain gets modified

parent cf4e137c
No related branches found
No related tags found
No related merge requests found
......@@ -165,11 +165,13 @@ function nginx_keybase {
function test_domain_name {
if [ $1 ]; then
TEST_DOMAIN_NAME=$1
function_check validate_domain_name
validate_domain_name
if [[ $TEST_DOMAIN_NAME != $1 && $TEST_DOMAIN_NAME != 'ttrss' ]]; then
echo $"Invalid domain name $TEST_DOMAIN_NAME"
exit 8528
if [[ $TEST_DOMAIN_NAME != 'ttrss' ]]; then
function_check validate_domain_name
validate_domain_name
if [[ $TEST_DOMAIN_NAME != $1 ]]; then
echo $"Invalid domain name $TEST_DOMAIN_NAME"
exit 8528
fi
fi
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment