mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Try another conditional test
This commit is contained in:
parent
7b02f2817e
commit
f06a4f5ba9
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ fi
|
||||||
|
|
||||||
ynh_script_progression --message="Start to init custom error code"
|
ynh_script_progression --message="Start to init custom error code"
|
||||||
# If custom_error_file doesn't exist, create it. We assume it is the default system one.
|
# If custom_error_file doesn't exist, create it. We assume it is the default system one.
|
||||||
if [ -z "${custom_error_file}" ]; then
|
if [ -z "${custom_error_file:-}" ]; then
|
||||||
ynh_script_progression --message="Variable not existing, create-it"
|
ynh_script_progression --message="Variable not existing, create-it"
|
||||||
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