fixed postinst (untested)