Bug#808309: mgp: fails to purge: subprocess installed post-removal script returned error exit status 1
Followup-For: Bug #808309
Control: severity -1 serious
Control: notfound -1 1.13a+upstream20090219-6
Hi,
I just checked the postrm script. This doesn't work as intended:
test -f /etc/defoma/mgp.subst-rule && rm -f /etc/defoma/mgp.subst-rule
because it always fails if the file does not exist.
Since you use rm -f, you can just skip the test for existence of the
file.
Andreas
PS: false && true ; echo $?
Reply to: