1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

try fix temporally secure folder with mktemp

This commit is contained in:
rodinux 2023-09-18 20:17:56 +02:00
parent 5624b22dc5
commit 7ff27b65a1

View file

@ -35,7 +35,7 @@ fi
ynh_script_progression --message="Backup of the DB in temporary file...." --weight=5
# copy data directory backup
tmp_data_backup=$(mktemp -d $app_dataXXX --suffix=BKP)
tmp_data_backup=$(mktemp -d)
rsync -a $install_dir/data/ $tmp_data_backup/
#=================================================