mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
Fix restore, remove debug
This commit is contained in:
parent
1df315cb74
commit
6cb309b83d
1 changed files with 2 additions and 2 deletions
|
@ -13,13 +13,13 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Restoring the app main directory..." --weight=1
|
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_restore_file --origin_path="$install_dir"
|
||||||
|
|
||||||
# ynh_setup_source --source_id=main --dest_dir="$install_dir"
|
# ynh_setup_source --source_id=main --dest_dir="$install_dir"
|
||||||
# chmod +x "$install_dir/restic"
|
# chmod +x "$install_dir/restic"
|
||||||
|
|
||||||
|
_gen_and_save_public_key
|
||||||
|
|
||||||
chown -R "$app:$app" "$install_dir"
|
chown -R "$app:$app" "$install_dir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue