mirror of
https://github.com/YunoHost-Apps/fider_ynh.git
synced 2024-09-03 18:36:11 +02:00
Replace rm -rf with ynh_secure_remove
This commit is contained in:
parent
040d0b15a9
commit
6dcbefbf96
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
|||
|
||||
# Moved fron /opt to /var/www
|
||||
if [ -d "/opt/yunohost/$app" ]; then
|
||||
rm -rf "$final_path"
|
||||
ynh_secure_remove -f "$final_path"
|
||||
mv "/opt/yunohost/$app" "$final_path"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue