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:
parent
2e7e016631
commit
eec0f52ab0
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
|||
# STANDARD BACKUP STEPS
|
||||
#=================================================
|
||||
# clean folder
|
||||
rm -rf $final_path/backup
|
||||
ynh_secure_remove --file="$final_path/backup"
|
||||
mkdir -p $final_path/backup
|
||||
#=================================================
|
||||
# BACKUP DIASPORA DATABASE
|
||||
|
|
Loading…
Reference in a new issue