1
1
Fork 1

Update project head.

This commit is contained in:
Derek Smith 2023-09-14 22:19:08 -04:00
parent 4c0f486097
commit a88a0ebb69
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
1 changed files with 5 additions and 4 deletions

View File

@ -27,11 +27,12 @@ source "$PROJECT_DEFINITION_PATH"
export PRIMARY_SITE_DEFINITION_PATH="$SITES_PATH/$PRIMARY_DOMAIN/site.conf"
if [ ! -f "$PRIMARY_SITE_DEFINITION_PATH" ]; then
echo "ERROR: the site definition does not exist."
exit 1
if [ -n "$WWW_SERVER_MAC_ADDRESS" ]; then
if [ ! -f "$PRIMARY_SITE_DEFINITION_PATH" ]; then
echo "ERROR: the site definition does not exist."
exit 1
fi
fi
if [ -z "$PRIMARY_DOMAIN" ]; then
echo "ERROR: The PRIMARY_DOMAIN is not specified. Check your remote definition at '$PRIMARY_SITE_DEFINITION_PATH'."
exit 1