astraw/stdeb — Issue #47: Post install hooks?
Author: xamox
Created: 2011-12-13 20:38:03+00:00
State: open

How can I add post install hooks?

I have my package building using:
python setup.py --command-packages=stdeb.command bdist_deb

What I want to do is run my post install script to add a launcher. I tried editing the postinst file generated by the debhelper in my
deb_dist/program/ directory and tried running:
dpkg-buildpackage -rfakeroot -uc -us

But when I open the .deb file with the archive manager and look at the postinst file it doesn't have the code I added.

Is there a way to add post install hooks/script to the stdeb.cfg file?