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:
parent
7bf11f985c
commit
ef5bb4a4b2
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ then
|
||||||
ynh_replace_string --match_string="__SHA256_SUM__" --replace_string="$SHA256" --target_file="../conf/app.src"
|
ynh_replace_string --match_string="__SHA256_SUM__" --replace_string="$SHA256" --target_file="../conf/app.src"
|
||||||
ynh_setup_source --dest_dir="$final_path"
|
ynh_setup_source --dest_dir="$final_path"
|
||||||
tar xfvz $final_path/app.tgz --strip-component=1 --directory=$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
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue