mirror of
https://github.com/YunoHost-Apps/13ft_ynh.git
synced 2024-09-03 18:06:03 +02:00
fix log directory test
This commit is contained in:
parent
4b7cd1b979
commit
a4670cd74f
1 changed files with 2 additions and 2 deletions
|
@ -103,8 +103,8 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
||||||
|
|
||||||
if [ ! -d directory ]; then
|
if [ ! -d /var/log/$app ]; then
|
||||||
mkdir /var/log/13ft
|
mkdir /var/log/$app
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue