1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00
This commit is contained in:
Tagada 2023-05-28 19:29:25 +02:00
parent 0f78b7f4b1
commit 8cff6952cb

View file

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