diff --git a/apps/roles/role_init/templates/init.sh.jinja2 b/apps/roles/role_init/templates/init.sh.jinja2 index d62e0816..ce253486 100644 --- a/apps/roles/role_init/templates/init.sh.jinja2 +++ b/apps/roles/role_init/templates/init.sh.jinja2 @@ -15,7 +15,7 @@ if [ $has_app_password == "" ]; then sudo sed -i "s/_PASSWORD=.*/_PASSWORD=$new_password/g" /data/apps/{{app_name}}/.env else # has_app_encrypt - has_app_encrypt==$(cat /data/apps/{{app_name}}/.env |grep "APP_ENCRYPT=") + has_app_encrypt=$(cat /data/apps/{{app_name}}/.env |grep "APP_ENCRYPT=") if [ $has_app_encrypt == "" ]; then sudo sed -i "s/APP_PASSWORD=.*/APP_PASSWORD=$new_password/g" /data/apps/{{app_name}}/.env else