1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/UMS_ynh.git synced 2024-10-01 13:35:01 +02:00

secure_remove instead of rm

This commit is contained in:
Krakinou 2021-05-09 12:26:29 +02:00
parent 7bf11f985c
commit ef5bb4a4b2

View file

@ -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
#=================================================