[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_installdeb & postrm



On Sun, Feb 25, 2001 at 11:27:32PM +1100, Drew Parsons wrote:
> Nice theory.  But when I create meschach.postinst and meschach-dev.postint,
> I find that meschach.postinst finds its way into the meschach-dev deb file!
> This in spite of the fact that the ./debian directory has a meschach-dev
> subdirectory containing meschach-dev.postint!

debian/ shouldn't have any subdirectories.  Here's how it should go,
assuming that your source package is called meschach:

upstream:
meschach-1.2.3/meschach/...
              /doc/...
              /lib/...
              /...

added:
meschach-1.2.3/debian/preinst
                     /postinst
                     /prerm
                     /docs
                     /examples
                     /meschach-dev.postinst
                     /meschach-dev.docs

And all of the the *{pre,post}{inst,rm} should have a #DEBHELPER# line
in them.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: