1
1
Fork 1

Update project head.

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

View File

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