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 #=================================================