From 301346ee954bca4dac0eae8144fa38a2ea5a2b76 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 27 May 2021 13:51:28 +0200 Subject: [PATCH] remove rustup after build --- scripts/_common.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index 8e7c92f..90c3b5d 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -64,5 +64,9 @@ install_sources() { set +$u_arg; deactivate set -$u_arg; + + # Remove Rust to reduce backup size + ynh_secure_remove --file=$final_path/.rustup + ynh_secure_remove --file=$final_path/.cargo fi }