Remove quotes and fix indentation

This commit is contained in:
Daave 2020-11-06 13:23:05 +00:00 committed by GitHub
parent 9c33288902
commit 80574e991b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ else
touch /app/var/.env touch /app/var/.env
## manually generate a key because key generate --force fails ## manually generate a key because key generate --force fails
if [ -z "$APP_KEY" ]; then if [ -z $APP_KEY ]; then
echo -e "Generating key." echo -e "Generating key."
APP_KEY=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) APP_KEY=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
echo -e "Generated app key: $APP_KEY" echo -e "Generated app key: $APP_KEY"