Check for blank default domain name
This commit is contained in:
parent
f0a0203666
commit
208f793bfc
|
@ -6250,6 +6250,10 @@ function install_owncloud {
|
|||
fi
|
||||
# if this is exclusively a cloud setup
|
||||
if [[ $SYSTEM_TYPE == "$VARIANT_CLOUD" ]]; then
|
||||
if [ ! $DOMAIN_NAME ]; then
|
||||
echo 'No default domain name when installing cloud variant'
|
||||
exit 5380
|
||||
fi
|
||||
OWNCLOUD_DOMAIN_NAME=$DOMAIN_NAME
|
||||
fi
|
||||
if [ ! $OWNCLOUD_DOMAIN_NAME ]; then
|
||||
|
|
Loading…
Reference in New Issue