diff --git a/scripts/upgrade b/scripts/upgrade index 9a02d23..363814a 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"