upd: install.sh

Do a check for .env before install and remove
This commit is contained in:
Ryan Prather 2025-04-27 22:45:59 -04:00
parent 0e1160d292
commit b1f207b9be

View File

@ -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