mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Change conditional expression
This commit is contained in:
parent
9dbb8b1821
commit
2c0b155c94
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ fi
|
||||||
# BACKUP CUSTOM CONF
|
# BACKUP CUSTOM CONF
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
if [ $custom_error_file == "true"]
|
if [ $custom_error_file ]
|
||||||
then
|
then
|
||||||
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.d/nginx-code-error.conf"
|
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.d/nginx-code-error.conf"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue