Hi Ivo, On Fri, Mar 19, 2021 at 3:41 AM Ivo De Decker <iv...@debian.org> wrote: > 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.
Aah, you're right. That makes sense. My bad; fixed it with your suggestion now! :) - u