Andrew Howell writes ("Re: Extracting debian{rules,postinst, etc) from the *.deb files, possible?"):
> David Frey writes:
> > Is it possible to extract the postist, preinst, rules etc. files out
> > of a package in case of not having the sources of it (eg. manpages)?
>
> Yeah with 'dpkg-deb -e' I believe.
dpkg -I foo.deb postinst
may do more what he wants ...
Ian.