1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreerp_ynh.git synced 2024-09-03 19:36:13 +02:00

fix: mkdir

This commit is contained in:
Salamandar 2024-03-20 22:10:03 +01:00
parent 55f1f72e54
commit f4a5d9d5dc

View file

@ -59,9 +59,10 @@ function setup_files() {
chown "$app:$app" "/var/log/$app.log"
if [ ! -f "$conf_file" ]; then
mkdir -p "$(dirname "$conf_file")"
ynh_configure server.conf "$conf_file"
chmod 400 "$conf_file"
chown "$app:$app" "$conf_file"
chown -R "$app:$app" "$(dirname "$conf_file")"
# Autoinstall the LDAP auth module
if [ -f "$install_dir/$appname/$FORKNAME-bin" ]; then