helpers/utils: replace the damn ynh_die with a warning when patch fails to apply ...

This commit is contained in:
Alexandre Aubin 2023-12-28 02:45:10 +01:00
parent f12ed69b7b
commit 0ed6769fcf

View file

@ -354,7 +354,7 @@ ynh_setup_source() {
pushd "$dest_dir"
for p in $patches_folder/${source_id}-*.patch; do
echo $p
patch --strip=1 <$p || ynh_die --message="Unable to apply patches"
patch --strip=1 <$p || ynh_print_warn --message="Packagers /!\\ patch $p failed to apply"
done
popd
fi