You could find the postinst file in /var. Look at the package content with dpkg -L to know its exact location.
No need to repack.
You could find the postinst file in /var. Look at the package content with dpkg -L to know its exact location.
No need to repack.