Hi,

On Thu, Mar 18, 2021 at 08:57:17PM +0000, Utkarsh Gupta wrote:
> Bug #984539 in debian-security-support reported by you has been fixed in the
> Git repository and is awaiting an upload. You can see the commit
> message below and you can check the diff of the fix at:
> 
> https://salsa.debian.org/debian/debian-security-support/-/commit/2693921853d44dd0c19bb25b8f4ffaf3a4d9104d
> 
> ------------------------------------------------------------------------
> dpkg hook should never fail; Closes: #984539
> ------------------------------------------------------------------------

You changed the hook invocation to:

post-invoke="if [ -x 
/usr/share/debian-security-support/check-support-status.hook ] ; then 
/usr/share/debian-security-support/check-support-status.hook ; else /bin/true ; 
fi"


Note that this doesn't actually ensure that it doesn't fail. The 'else' case
only happens when the if statement fails, so when the hook doesn't exist. But
when the hook script fails for some reason, dpkg will still abort. I think
changing it to the following should fix that.

post-invoke="if [ -x 
/usr/share/debian-security-support/check-support-status.hook ] ; then 
/usr/share/debian-security-support/check-support-status.hook || /bin/true ; fi"


Thanks,

Ivo

Reply via email to