Check for blank default domain name

This commit is contained in:
Bob Mottram 2015-01-26 21:03:22 +00:00
parent f0a0203666
commit 208f793bfc
1 changed files with 4 additions and 0 deletions

View File

@ -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