From d164e4f60a2ea3cb2d3b383af62611efde500b83 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 2 May 2022 23:05:19 +0200 Subject: [PATCH] Silence patch command --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 9045c02..80174e9 100644 --- a/scripts/install +++ b/scripts/install @@ -92,7 +92,7 @@ version=$(ynh_app_upstream_version) # FIXME because we need to apply the patch manually with --binary flag # while we should be able to simply use the patching feature of ynh_setup_source ynh_add_config --template="../sources/patches/app-CVE-2022-29360.patch.template" --destination="../sources/patches/FIXMEapp-CVE-2022-29360.patch" -patch --binary $final_path/app/rainloop/v/$version/app/libraries/MailSo/Base/HtmlUtils.php < ../sources/patches/FIXMEapp-CVE-2022-29360.patch +patch --silent --binary $final_path/app/rainloop/v/$version/app/libraries/MailSo/Base/HtmlUtils.php < ../sources/patches/FIXMEapp-CVE-2022-29360.patch #================================================= # NGINX CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 0075ffe..b83711a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -112,7 +112,7 @@ then # FIXME because we need to apply the patch manually with --binary flag # while we should be able to simply use the patching feature of ynh_setup_source ynh_add_config --template="../sources/patches/app-CVE-2022-29360.patch.template" --destination="../sources/patches/FIXMEapp-CVE-2022-29360.patch" - patch --binary --forward $final_path/app/rainloop/v/$version/app/libraries/MailSo/Base/HtmlUtils.php <../sources/patches/FIXMEapp-CVE-2022-29360.patch + patch --silent --binary --forward $final_path/app/rainloop/v/$version/app/libraries/MailSo/Base/HtmlUtils.php <../sources/patches/FIXMEapp-CVE-2022-29360.patch fi #=================================================