diff --git a/scripts/upgrade b/scripts/upgrade index 49705ae..5593d78 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,7 +21,7 @@ upgrade_type=$(ynh_check_app_version_changed) ynh_script_progression --message="Ensuring downward compatibility..." # If database doesn't exist, create it and remove with_mysql setting -if [ -z "$(database:-)" ]; then +if [ -z "${database:-}" ]; then if [ $with_mysql -eq 1 ]; then $database="mysql" else