From 72768483520b92e174d9c624d664b4574f95907c Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Fri, 15 Sep 2017 22:48:53 +0200 Subject: [PATCH] A naughty rm --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c58db57..3564ccd 100644 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,7 @@ ynh_app_setting_set $app final_path $final_path # For this app sources are in app subdirectory tmp_dir=$(mktemp -d) ynh_clean_setup () { - rm -Rf "$tmp_dir" + ynh_secure_remove "$tmp_dir" } ynh_setup_source "$tmp_dir" mv "$tmp_dir/sources" "$final_path"