From 69abb096c27497abbed61049e0da31c159029ea9 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 5 Aug 2019 22:31:23 +0200 Subject: [PATCH] Remove rust after compilation --- scripts/install | 4 +++- scripts/upgrade | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 56a3162..10d38ba 100644 --- a/scripts/install +++ b/scripts/install @@ -126,7 +126,9 @@ popd cp -a $final_path/build/target/release/. $final_path/live/. -ynh_secure_remove --file=$final_path/build/ +ynh_secure_remove --file="$final_path/build" +ynh_secure_remove --file="$final_path/.cargo" +ynh_secure_remove --file="$final_path/.rustup" #================================================= # SETUP SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index 74668db..d0a3753 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -136,7 +136,9 @@ then cp -a $final_path/build/target/release/. $final_path/live/. - ynh_secure_remove --file=$final_path/build/ + ynh_secure_remove --file="$final_path/build" + ynh_secure_remove --file="$final_path/.cargo" + ynh_secure_remove --file="$final_path/.rustup" fi #=================================================