1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00

Fix backup of uploads

This commit is contained in:
Augustin Trancart 2020-05-03 15:05:26 +02:00 committed by Augustin Trancart
parent 5b13decd95
commit a0f9831fb2

View file

@ -42,7 +42,7 @@ ynh_backup --src_path="$dump_file"
# BACKUP DIASPORA UPLOADS
#=================================================
ynh_script_progression --message="Backup uploads..." --weight=10
if [ -x $final_path/diaspora/public/uploads]; then
if [ -x $final_path/diaspora/public/uploads ]; then
ynh_backup --src_path="$final_path/diaspora/public/uploads"
else
echo "uploads folder does not exist. Skipping."