upd: install.sh
Do a check for .env before install and remove
This commit is contained in:
		| @@ -1,6 +1,9 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| rm -rf .env* | ||||
| if [ ! -f /var/www/html/.env ]; then | ||||
|     exit 0 | ||||
| fi | ||||
|  | ||||
|  | ||||
| echo "APP_ENV=prod" > .env | ||||
| echo "APP_DEBUG=0" >> .env | ||||
|   | ||||
		Reference in New Issue
	
	Block a user