From 07a3461622f49d806744c6767fe03311f7555fe5 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Fri, 17 May 2019 10:44:19 +0200 Subject: [PATCH] Do not rm... --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index ad18600..5d74e76 100755 --- a/scripts/install +++ b/scripts/install @@ -124,7 +124,7 @@ ynh_replace_string --match_string="__YNH_ADMIN_USER__" --replace_string="$admin_ ynh_store_file_checksum --file="$jirafeauconfigfile" # Remove the install.php -rm $final_path/install.php +ynh_secure_remove --file=$final_path/install.php #================================================= # GENERIC FINALISATION diff --git a/scripts/upgrade b/scripts/upgrade index cae86d6..9e4af78 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -151,7 +151,7 @@ ynh_replace_string --match_string="__YNH_ADMIN_USER__" --replace_string="$admin_ ynh_store_file_checksum --file="$jirafeauconfigfile" # Remove the install.php -rm $final_path/install.php +ynh_secure_remove --file=$final_path/install.php #================================================= # GENERIC FINALISATION