From a4670cd74fee2805c6ff123b015f2533423a3368 Mon Sep 17 00:00:00 2001 From: lapineige Date: Tue, 25 Jul 2023 11:31:15 +0200 Subject: [PATCH] fix log directory test --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index d152dfc..3d3097c 100755 --- a/scripts/install +++ b/scripts/install @@ -103,8 +103,8 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 -if [ ! -d directory ]; then - mkdir /var/log/13ft +if [ ! -d /var/log/$app ]; then + mkdir /var/log/$app fi