diff --git a/scripts/upgrade b/scripts/upgrade index a691cf6..43d78e6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -156,8 +156,8 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 -if [ ! -d directory ]; then - mkdir /var/log/13ft +if [ ! -d /var/log/$app ]; then + mkdir /var/log/$app fi # Create a dedicated systemd config