Check that gogs domain differs from others
This commit is contained in:
parent
10c72941ad
commit
fc81fd4519
|
@ -1243,6 +1243,12 @@ function check_domains {
|
|||
echo $'Wiki domain name is the same as hubzilla domain name. They must be different'
|
||||
exit 65848
|
||||
fi
|
||||
if [ $GIT_DOMAIN_NAME ]; then
|
||||
if [[ "$test_domain_name" == "$GIT_DOMAIN_NAME" ]]; then
|
||||
echo $'Wiki domain name is the same as Gogs domain name. They must be different'
|
||||
exit 73529
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $OWNCLOUD_DOMAIN_NAME ]; then
|
||||
|
@ -1264,6 +1270,12 @@ function check_domains {
|
|||
echo $'Owncloud domain name is the same as hubzilla domain name. They must be different'
|
||||
exit 68365
|
||||
fi
|
||||
if [ $GIT_DOMAIN_NAME ]; then
|
||||
if [[ "$test_domain_name" == "$GIT_DOMAIN_NAME" ]]; then
|
||||
echo $'Owncloud domain name is the same as Gogs domain name. They must be different'
|
||||
exit 27692
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $FULLBLOG_DOMAIN_NAME ]; then
|
||||
|
@ -1285,6 +1297,12 @@ function check_domains {
|
|||
echo $'Blog domain name is the same as hubzilla domain name. They must be different'
|
||||
exit 35483
|
||||
fi
|
||||
if [ $GIT_DOMAIN_NAME ]; then
|
||||
if [[ "$test_domain_name" == "$GIT_DOMAIN_NAME" ]]; then
|
||||
echo $'Blog domain name is the same as Gogs domain name. They must be different'
|
||||
exit 84695
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $MICROBLOG_DOMAIN_NAME ]; then
|
||||
|
@ -1306,6 +1324,12 @@ function check_domains {
|
|||
echo $'Microblog domain name is the same as hubzilla domain name. They must be different'
|
||||
exit 678382
|
||||
fi
|
||||
if [ $GIT_DOMAIN_NAME ]; then
|
||||
if [[ "$test_domain_name" == "$GIT_DOMAIN_NAME" ]]; then
|
||||
echo $'Microblog domain name is the same as Gogs domain name. They must be different'
|
||||
exit 684325
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $HUBZILLA_DOMAIN_NAME ]; then
|
||||
|
@ -1327,6 +1351,37 @@ function check_domains {
|
|||
echo $'Hubzilla domain name is the same as microblog domain name. They must be different'
|
||||
exit 83683
|
||||
fi
|
||||
if [ $GIT_DOMAIN_NAME ]; then
|
||||
if [[ "$test_domain_name" == "$GIT_DOMAIN_NAME" ]]; then
|
||||
echo $'Hubzilla domain name is the same as Gogs domain name. They must be different'
|
||||
exit 135523
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $GIT_DOMAIN_NAME ]; then
|
||||
test_domain_name "$GIT_DOMAIN_NAME"
|
||||
|
||||
if [[ "$test_domain_name" == "$WIKI_DOMAIN_NAME" ]]; then
|
||||
echo $'Hubzilla domain name is the same as wiki domain name. They must be different'
|
||||
exit 83682
|
||||
fi
|
||||
if [[ "$test_domain_name" == "$OWNCLOUD_DOMAIN_NAME" ]]; then
|
||||
echo $'Hubzilla domain name is the same as Owncloud domain name. They must be different'
|
||||
exit 65192
|
||||
fi
|
||||
if [[ "$test_domain_name" == "$FULLBLOG_DOMAIN_NAME" ]]; then
|
||||
echo $'Hubzilla domain name is the same as blog domain name. They must be different'
|
||||
exit 74817
|
||||
fi
|
||||
if [[ "$test_domain_name" == "$MICROBLOG_DOMAIN_NAME" ]]; then
|
||||
echo $'Hubzilla 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 $'Microblog domain name is the same as hubzilla domain name. They must be different'
|
||||
exit 678382
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue