[fix] hook restore multimedia

This commit is contained in:
Kayou 2021-11-30 13:10:20 +01:00 committed by GitHub
parent 6854f23cca
commit 2bd1df0659
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