upd: install.sh
Do a check for .env before install and remove
This commit is contained in:
parent
0e1160d292
commit
b1f207b9be
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user