This is better as a postinst.