From 6cb309b83d34c597962517a62bc0a23d7a492d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 26 May 2024 12:56:25 +0200 Subject: [PATCH] Fix restore, remove debug --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 488df08..aa0303c 100755 --- a/scripts/restore +++ b/scripts/restore @@ -13,13 +13,13 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Restoring the app main directory..." --weight=1 -ynh_exec_warn find '/home/yunohost.backup/tmp/Backup_test/apps/restic/backup' - ynh_restore_file --origin_path="$install_dir" # ynh_setup_source --source_id=main --dest_dir="$install_dir" # chmod +x "$install_dir/restic" +_gen_and_save_public_key + chown -R "$app:$app" "$install_dir" #=================================================