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:
parent
97df0dcdbe
commit
99d06c6815
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue