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:
parent
55f1f72e54
commit
f4a5d9d5dc
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue