Merge pull request #1386 from YunoHost/fix-hook-restore-multimedia

[fix] hook restore multimedia
This commit is contained in:
Alexandre Aubin 2021-11-30 13:21:54 +01:00 committed by GitHub
commit 35927e32bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,4 +6,6 @@ set -eu
# Source YNH helpers
source /usr/share/yunohost/helpers
ynh_restore_file --origin_path="/home/yunohost.multimedia" --not_mandatory
backup_dir="data/multimedia"
ynh_restore_file --origin_path="${backup_dir}" --dest_path="/home/yunohost.multimedia" --not_mandatory