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

Re: How to provide a helper script to be sourced by maintainer scripts



Am 25.03.2012 19:21, schrieb Russ Allbery:
> Arno Töll <debian@toell.net> writes:
> 
>> As another alternative which comes me in mind is a pseudo-shared
>> library. You would put the common functions into
>> debian/maintscripts-common and copy its contents at build time to a
>> defined position in your maintainer script (e.g. just like debhelper
>> does with #DEBHELPER#).
> 
> Yup, this is what the OpenLDAP packages do for exactly this use case.
> 
Are you referring to debian/dh_installscripts-common in openldap
(http://anonscm.debian.org/viewvc/pkg-openldap/openldap/trunk/debian/dh_installscripts-common?revision=886&view=markup)?



Reply to: