Tweak post-link behavior.

If the post-link.(bat|sh) fails, don't treat it as though it installed
correctly and add it to the index.  This requires an explicit removal
before a re-installation attempt can be made.