tags 381901 pending thankyou Hi,
> I didn't know this, good to know, but it's not the point because the > above command is the last one in the script, which exits with the return > code of the command, i.e. 1 if the link doesn't exist. Ah, sure, you're right, I'd forgotten about the last-command-determines- exit-status rule. > I have successfully patched the post-rm script by replacing the "&&" > construct through an "if" one, and the package purged flawlessly. > But it's easy to test: install mt-st, remove the above link and try to > --purge the package. I can reproduce it, see the end of the mail. I'd rather append a "exit 0" to the script to evade the last-command rule, because a) I like the &&-approach and I'd have to b1) wait for debhelper to change its behaviour or b2) abandon debhelper and write it myself if I wanted to introduce the "if" approach. Thanks for your report! Jan
signature.asc
Description: Digital signature