On 12/03/2025 13:23, Marco d'Itri wrote:
On Mar 12, Mark Hindley <m...@hindley.org.uk> wrote:

+  update-rc.d kmod remove || true
Why the "|| true"?

update-rc.d does not fail even the symlinks have already been removed.

I didn't write the patch, but it seems sensible to me - if that does fail for whatever reason, you don't want the postinst to fail, since presumably you don't want to abort the kmod upgrade if this removal does fail?

I'm sure Mark will remove the || true if you want, though.

Regards,

Matthew

Reply via email to