From ef5bb4a4b2befe8407e9a0395a5c4c38f2d7fd3d Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sun, 9 May 2021 12:26:29 +0200 Subject: [PATCH] secure_remove instead of rm --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2b14cea..2428f67 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,7 +77,7 @@ then ynh_replace_string --match_string="__SHA256_SUM__" --replace_string="$SHA256" --target_file="../conf/app.src" ynh_setup_source --dest_dir="$final_path" tar xfvz $final_path/app.tgz --strip-component=1 --directory=$final_path/ - rm $final_path/app.tgz + ynh_secure_remove $final_path/app.tgz fi #=================================================