1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/restic_ynh.git synced 2024-09-03 20:16:22 +02:00

Fix restore script by calling the proper function

This commit is contained in:
Salamandar 2024-05-26 12:48:19 +02:00
parent 1e618d1787
commit d31ec14cb7

View file

@ -42,8 +42,8 @@ ynh_script_progression --message="Restoring system configurations related to $ap
ynh_restore_file --origin_path="/etc/sudoers.d/$app"
chown root:root "/etc/sudoers.d/$app"
ynh_restore --origin_path="/root/.ssh/id_${app}_ed25519"
ynh_restore --origin_path="/root/.ssh/id_${app}_ed25519.pub"
ynh_restore_file --origin_path="/root/.ssh/id_${app}_ed25519"
ynh_restore_file --origin_path="/root/.ssh/id_${app}_ed25519.pub"
# FIXME: restore the .ssh/config instead?
_set_ssh_config