Remove quotes and fix indentation
This commit is contained in:
parent
9c33288902
commit
80574e991b
1 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue