I don't know if that's a typo but you have to remove the ".ex" in the name. It must be called just "postinst".
There is:
postinst
preinst
prerm
postrm
And a few others. The *.ex and *.EX's are created as examples by the dh_* series of tools. You are meant to modify and then rename them.
Aptitude, synaptic, apt-get, are all different wraps to using "dpkg" as the actual install command. Dpkg itself is what uses that file.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining: pyRadio - Pandora Radio on your N900, N810 or N800!
There is:
postinst
preinst
prerm
postrm
And a few others. The *.ex and *.EX's are created as examples by the dh_* series of tools. You are meant to modify and then rename them.
Aptitude, synaptic, apt-get, are all different wraps to using "dpkg" as the actual install command. Dpkg itself is what uses that file.
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!