remove pointless hooks for pre and post -install