From 85fdbdf1f0af0479fe976731a17544956e17e934 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 29 Nov 2023 19:42:00 +0100 Subject: [PATCH] purge the "bundles" folder to avoid pointlessly taking up space at each update --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 3583ab8..60f04c1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -37,6 +37,9 @@ fi if [ "$upgrade_type" == "UPGRADE_APP" ] then + # purge the "bundles" folder to avoid pointlessly taking up space at each update + ynh_secure_remove --file="$install_dir/bundles/*" + ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src