Hubzilla switch

This commit is contained in:
Bob Mottram 2015-09-07 22:33:05 +01:00
parent 53afe6ff4c
commit 4c0b28a358
1 changed files with 50 additions and 34 deletions

View File

@ -1084,13 +1084,16 @@ function check_domains {
echo 'Wiki domain name is the same as microblog domain name. They must be different'
exit 36827
fi
if [[ "$test_domain_name" == "$REDMATRIX_DOMAIN_NAME" ]]; then
echo 'Wiki domain name is the same as redmatrix domain name. They must be different'
exit 93637
fi
if [[ "$test_domain_name" == "$HUBZILLA_DOMAIN_NAME" ]]; then
echo 'Wiki domain name is the same as hubzilla domain name. They must be different'
exit 65848
if [[ $ENABLE_HUBZILLA == "no" ]]; then
if [[ "$test_domain_name" == "$REDMATRIX_DOMAIN_NAME" ]]; then
echo 'Wiki domain name is the same as redmatrix domain name. They must be different'
exit 93637
fi
else
if [[ "$test_domain_name" == "$HUBZILLA_DOMAIN_NAME" ]]; then
echo 'Wiki domain name is the same as hubzilla domain name. They must be different'
exit 65848
fi
fi
fi
@ -1109,13 +1112,16 @@ function check_domains {
echo 'Owncloud domain name is the same as microblog domain name. They must be different'
exit 36896
fi
if [[ "$test_domain_name" == "$REDMATRIX_DOMAIN_NAME" ]]; then
echo 'Owncloud domain name is the same as redmatrix domain name. They must be different'
exit 79362
fi
if [[ "$test_domain_name" == "$HUBZILLA_DOMAIN_NAME" ]]; then
echo 'Owncloud domain name is the same as hubzilla domain name. They must be different'
exit 68365
if [[ $ENABLE_HUBZILLA == "no" ]]; then
if [[ "$test_domain_name" == "$REDMATRIX_DOMAIN_NAME" ]]; then
echo 'Owncloud domain name is the same as redmatrix domain name. They must be different'
exit 79362
fi
else
if [[ "$test_domain_name" == "$HUBZILLA_DOMAIN_NAME" ]]; then
echo 'Owncloud domain name is the same as hubzilla domain name. They must be different'
exit 68365
fi
fi
fi
@ -1134,13 +1140,16 @@ function check_domains {
echo 'Blog domain name is the same as microblog domain name. They must be different'
exit 38236
fi
if [[ "$test_domain_name" == "$REDMATRIX_DOMAIN_NAME" ]]; then
echo 'Blog domain name is the same as redmatrix domain name. They must be different'
exit 36813
fi
if [[ "$test_domain_name" == "$HUBZILLA_DOMAIN_NAME" ]]; then
echo 'Blog domain name is the same as hubzilla domain name. They must be different'
exit 35483
if [[ $ENABLE_HUBZILLA == "no" ]]; then
if [[ "$test_domain_name" == "$REDMATRIX_DOMAIN_NAME" ]]; then
echo 'Blog domain name is the same as redmatrix domain name. They must be different'
exit 36813
fi
else
if [[ "$test_domain_name" == "$HUBZILLA_DOMAIN_NAME" ]]; then
echo 'Blog domain name is the same as hubzilla domain name. They must be different'
exit 35483
fi
fi
fi
@ -1159,13 +1168,16 @@ function check_domains {
echo 'Microblog domain name is the same as blog domain name. They must be different'
exit 26832
fi
if [[ "$test_domain_name" == "$REDMATRIX_DOMAIN_NAME" ]]; then
echo 'Microblog domain name is the same as redmatrix domain name. They must be different'
exit 36373
fi
if [[ "$test_domain_name" == "$HUBZILLA_DOMAIN_NAME" ]]; then
echo 'Microblog domain name is the same as hubzilla domain name. They must be different'
exit 678382
if [[ $ENABLE_HUBZILLA == "no" ]]; then
if [[ "$test_domain_name" == "$REDMATRIX_DOMAIN_NAME" ]]; then
echo 'Microblog domain name is the same as redmatrix domain name. They must be different'
exit 36373
fi
else
if [[ "$test_domain_name" == "$HUBZILLA_DOMAIN_NAME" ]]; then
echo 'Microblog domain name is the same as hubzilla domain name. They must be different'
exit 678382
fi
fi
fi
@ -1188,9 +1200,11 @@ function check_domains {
echo 'RedMatrix domain name is the same as microblog domain name. They must be different'
exit 83683
fi
if [[ "$test_domain_name" == "$HUBZILLA_DOMAIN_NAME" ]]; then
echo 'RedMatrix domain name is the same as hubzilla domain name. They must be different'
exit 82672
if [[ $ENABLE_HUBZILLA != "no" ]]; then
if [[ "$test_domain_name" == "$HUBZILLA_DOMAIN_NAME" ]]; then
echo 'RedMatrix domain name is the same as hubzilla domain name. They must be different'
exit 82672
fi
fi
fi
@ -1213,9 +1227,11 @@ function check_domains {
echo 'RedMatrix domain name is the same as microblog domain name. They must be different'
exit 83683
fi
if [[ "$test_domain_name" == "$REDMATRIX_DOMAIN_NAME" ]]; then
echo 'RedMatrix domain name is the same as redmatrix domain name. They must be different'
exit 82672
if [[ $ENABLE_HUBZILLA == "no" ]]; then
if [[ "$test_domain_name" == "$REDMATRIX_DOMAIN_NAME" ]]; then
echo 'RedMatrix domain name is the same as redmatrix domain name. They must be different'
exit 82672
fi
fi
fi
}