mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
fix database: unbound variable
This commit is contained in:
parent
810c3facfa
commit
b5f4e50ff9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue