mirror of
https://github.com/YunoHost-Apps/grav_ynh.git
synced 2024-09-03 19:16:01 +02:00
No need to ynh_exec_as to make files in upgrade
There's a chown/chmod step right after it.
This commit is contained in:
parent
560668c763
commit
2e6b8416b8
1 changed files with 2 additions and 2 deletions
|
@ -153,8 +153,8 @@ ynh_script_progression --message="Installing and configuring LDAP plugin..." --w
|
|||
# Download LDAP source
|
||||
ynh_setup_source --dest_dir="$final_path/user/plugins/login-ldap" --source_id="ldap"
|
||||
|
||||
ynh_exec_as $app mkdir -p "$final_path/user/config/plugins/login-ldap"
|
||||
ynh_exec_as $app touch "$final_path/user/accounts/admin.yaml"
|
||||
mkdir -p "$final_path/user/config/plugins/login-ldap"
|
||||
touch "$final_path/user/accounts/admin.yaml"
|
||||
|
||||
ynh_add_config --template="../conf/login-ldap.yaml" --destination="$final_path/user/config/plugins/login-ldap.yaml"
|
||||
chown $app:$app "$final_path/user/config/plugins/login-ldap.yaml"
|
||||
|
|
Loading…
Add table
Reference in a new issue