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

Stop using rm -rf

This commit is contained in:
Augustin Trancart 2020-05-01 17:41:25 +02:00
parent 2e7e016631
commit eec0f52ab0

View file

@ -28,7 +28,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
# STANDARD BACKUP STEPS # STANDARD BACKUP STEPS
#================================================= #=================================================
# clean folder # clean folder
rm -rf $final_path/backup ynh_secure_remove --file="$final_path/backup"
mkdir -p $final_path/backup mkdir -p $final_path/backup
#================================================= #=================================================
# BACKUP DIASPORA DATABASE # BACKUP DIASPORA DATABASE