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

Re: ocaml 3.04-3 uploaded

On Fri, Jan 11, 2002 at 05:26:54PM +0100, Denis Barbier wrote:
> On Fri, Jan 11, 2002 at 03:07:41PM +0100, Sven wrote:
> [...]
> > > OTOH, a dh_ocaml debhelper script would be helpful to automatically call
> > > update-ocaml-ldconf in post{inst,rm} scripts.
> > 
> > huh ???
> > 
> > Do you mean to have a dh_ocaml script which would add the propper
> > update-ocaml-ldconf calls in the post{inst,rm} files ?
> Hi again,
> here is an implementation.  This dh_ocamlld script add calls to Stefano's OCaml
> program (called ocaml-ldconf in these files) in postinst and postrm scripts.
> The post{inst,rm}-ocamlld snippets must first be put into
> /usr/share/debhelper/autoscripts/ directory.

Mmm, ...

Does this have to go into the debhelper package or the ocaml package ?

If it is the later, i see a chicken and egg problem, as ocaml-base provides 3
such dll locations which need to be added to the file.

But then, since ocaml-base is depended upon by all the other dll containing
packages, i suppose i could just have it provide a file with these 3
directories provided in it.

But then again, i suppose the best way would be to mark this file as
configuration file, which may be kept even if ocaml-base is removed,
especially if we do a --force-depend or something such.


Sven Luther

Reply to: