diff --git a/scripts/upgrade b/scripts/upgrade index 8db744e..1bf4e6e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -79,7 +79,7 @@ ynh_setup_source "$final_path" cp -a ${final_path}.old/data ${final_path} # delete temp directory -rm -Rf ${final_path}.old +ynh_secure_remove ${final_path}.old #================================================= # NGINX CONFIGURATION