Re: How to provide a helper script to be sourced by maintainer scripts
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.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: