1
0
Fork 0
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:
Aurelien Vaillant 2023-08-16 18:40:21 +02:00
parent 8fe710187a
commit 9384644c80

View file

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