mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Update upgrade script to fix the unbound variable error
This commit is contained in:
parent
8fe710187a
commit
9384644c80
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ if [ -z "$phpversion" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If custom_error_files doesn't exist, create it. We assume it is the default system one.
|
# If custom_error_files doesn't exist, create it. We assume it is the default system one.
|
||||||
if [ -n "$(ynh_app_setting_get --app=$app --key=custom_error_file)" ]; then
|
if [ -z "$custom_error_file" ]; then
|
||||||
custom_error_file=$(ynh_app_setting_get --app=$app --key=custom_error_file)
|
custom_error_file=$(ynh_app_setting_get --app=$app --key=custom_error_file)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue