diff --git a/scripts/upgrade b/scripts/upgrade index dac1a89..0818dbf 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -31,6 +31,7 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --keep="var/invoices/ var/data/" + ynh_secure_remove --file="$install_dir/var/plugins/*" fi chmod -R o-rwx "$install_dir"