Fixes errors in postinst, not using our template and error about grep test.