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:
parent
5624b22dc5
commit
7ff27b65a1
1 changed files with 1 additions and 1 deletions
|
@ -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/
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue