From 599dcc29bea70aa69d74cda955cfc8d7451e1454 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 16 Sep 2022 08:29:32 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 8eeb558..125c06e 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,6 +118,8 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="/var/www/$app" + + ynh_secure_remove --file="/opt/yunohost/$app" fi chmod 750 "$final_path"