mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
oops fix _ynh_add_config_j2
This commit is contained in:
parent
08958e6897
commit
252a83093b
1 changed files with 1 additions and 3 deletions
|
@ -80,11 +80,9 @@ _ynh_add_config_j2() {
|
||||||
chown root:root $destination
|
chown root:root $destination
|
||||||
chmod 640 $destination
|
chmod 640 $destination
|
||||||
|
|
||||||
cp -f "$template_path" "$destination"
|
ynh_render_template "$template_path" "$destination"
|
||||||
|
|
||||||
_ynh_apply_default_permissions $destination
|
_ynh_apply_default_permissions $destination
|
||||||
|
|
||||||
ynh_replace_vars --file="$destination"
|
|
||||||
|
|
||||||
ynh_store_file_checksum --file="$destination"
|
ynh_store_file_checksum --file="$destination"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue