Set -e in postinst/postrm.