[Build-common-hackers] Problem w/ CDBS and special dh_installinit arguments

W. Borgert debacle@debian.org
Tue, 13 Apr 2004 19:07:43 +0200

Quoting "W. Borgert" <debacle@debian.org>:
> how can I use DEB_DH_INSTALLINIT_ARGS correctly?

Better question: How can I use any of the variables with different
values for different binary packages?

> I have a source package with two binary packages, both with their
> own init scripts.  In one case I have to add 'defaults 90 10', in
> the other case 'defaults 95 5'.  I tried adding dh_installinit
> in binary-install/packageX::, but now dh_installinit is called
> twice and the packageX.postinstall.debhelper tries to start the
> daemon twice :-(   can rename the default init scripts, that
> should be a good workaround, but maybe there's a better way?

Ah, that is much more ugly than I thought, I don't want to do that.

I'm sure, I'm missing sth., but what?

TIA! Cheers, WB