1
1

Update project head.

This commit is contained in:
Derek Smith 2023-09-14 22:19:08 -04:00
parent 9182c7eb0a
commit 9ffeb57981
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
2 changed files with 6 additions and 5 deletions

@ -1 +1 @@
Subproject commit 09b17764bd71e6ee8f7dbf498042e12f4b7e45bc
Subproject commit ce9cce66eef3364063f98515d76cfc9cdecc5700

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