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:
parent
3396894985
commit
8339439135
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue