File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,15 @@ elif [ -z "$ADVANCED_MODE" ];
3535 sed -i "s/DB_DATABASE=database_database/DB_DATABASE=${DB_DATABASE}/g" /var/www/html/.env
3636 sed -i "s/DB_USERNAME=database_username/DB_USERNAME=${DB_USER}/g" /var/www/html/.env
3737 sed -i "s/DB_PASSWORD=database_user_password/DB_PASSWORD=${DB_PASS}/g" /var/www/html/.env
38- elif [ ! -z "$APP_URL" -a -z "$ADVANCED_MODE" ];
38+ else
39+ echo "Nothing to do with .env - what did you do homer?"
40+ fi
41+
42+ # Check to see if appurl is set, and whether advanced mode is set. Will set .env APP_URL if variable present, and advanced mode not set
43+ if [ ! -z "$APP_URL" -a -z "$ADVANCED_MODE" ];
3944 then
4045 echo "App URL Set"
4146 sed -i "s,#\sAPP_URL.*,APP_URL=${APP_URL},g" /var/www/html/.env
42- else
43- echo "Nothing to do with .env - what did you do homer?"
4447fi
4548
4649# Create API key if needed
You can’t perform that action at this time.
0 commit comments