On Fri, May 06, 2005 at 04:57:05PM +0200, Christian Hammers wrote:
> The first statement sounds better but I'm not sure if #DEBHELPER# gets
> replaced if it's not the very last statement. So if we include the

i'm pretty sure it does.  from debhelper(7):

       Some debhelper commands will automatically generate parts of debian
       maintainer scripts. If you want these automatically generated things
       included in your existing debian maintainer scripts, then you need to
       add "#DEBHELPER#" to your scripts, in the place the code should be
       added.  "#DEBHELPER#" will be replaced by any auto-generated code when
       you run dh_installdeb.


> relevant parts by hand we have to check every now and then that debhelper
> does not add something we would like to have in the script, too.

yeah, we'll still have to do that.  another option would be do
dh_instalinit -n in debian/rules, which would not add the init script
debhelper code, and then manually put that in the right place (so then
the only thing we'd have to keep track of would be changes in init
script handling policy)

        sean

-- 

Attachment: signature.asc
Description: Digital signature

Reply via email to