From c0a74b2122a237df6571f49f1984373fbf874b91 Mon Sep 17 00:00:00 2001 From: Miraty Date: Mon, 23 Mar 2020 17:42:59 +0100 Subject: [PATCH] Remove unused directories or files from older release --- scripts/upgrade | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index a0b7e5d..adf36be 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -93,6 +93,13 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" + + # Remove unused directories or files from older release + ynh_secure_remove --file="$final_path/aide.svg" + ynh_secure_remove --file="$final_path/favicons" + ynh_secure_remove --file="$final_path/parinux.png" + ynh_secure_remove --file="$final_path/phpqrcode" + ynh_secure_remove --file="$final_path/ubuntu-dl.ttf" fi #=================================================