1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00

Switch to ynh_secure_remove

This commit is contained in:
yalh76 2019-04-10 00:15:31 +02:00
parent 97df0dcdbe
commit 99d06c6815
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ mkdir "$final_path"
mkdir "$final_path/tmp"
ynh_setup_source "$final_path/tmp"
cp -a "$final_path/tmp/src/." "$final_path/."
rm -r "$final_path/tmp"
ynh_secure_remove "$final_path/tmp"
#=================================================
# NGINX CONFIGURATION

View file

@ -97,7 +97,7 @@ ynh_print_info "Upgrading source files..."
mkdir "$final_path/tmp"
ynh_setup_source "$final_path/tmp"
cp -a "$final_path/tmp/src/." "$final_path/."
rm -r "$final_path/tmp"
ynh_secure_remove "$final_path/tmp"
#=================================================
# NGINX CONFIGURATION