generating postinst/prerm