1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Fix bad variable allocation

This commit is contained in:
Aurelien Vaillant 2023-08-17 11:05:13 +02:00
parent 3396894985
commit 8339439135

View file

@ -56,9 +56,8 @@ if [ -z "$phpversion" ]; then
ynh_app_setting_set --app=$app --key=phpversion --value=$phpversion
fi
echo Init the custom error variable
# If custom_error_file 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
echo Variable not existing, create-it
custom_error_file=$(ynh_app_setting_get --app=$app --key=custom_error_file)
else