[Debian-uk] A little Packaging Help Please

Paul Martin pm at debian.org
Tue, 16 Oct 2007 00:26:20 +0100


On Mon, Oct 15, 2007 at 07:56:48PM +0100, Steve Dobson wrote:

> I'm building some debian meta packages to I can guarantee what get 
> installed and more importantly configured on a number of production 
> servers.  My problem is that my postinst script is not being placed
> in <package-name>/DEBIAN.
> 
> I've turned verbose mode on but all dh_installdeb reports is:
>    dh_installdeb 
> 	   install -o 0 -g 0 -d debian/<package>/DEBIAN
> 
> It isn't logging anything about using the postinst.ex file that is
> I have written to do a little work post installation.

postinst.ex is an example file. Rename it to postinst or
<package>.postinst and it'll be installed.

-- 
Paul Martin <pm@debian.org>