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

Re: ocaml 3.04-3 uploaded

On Tue, Jan 22, 2002 at 06:08:30PM +0100, Sven wrote:
> > 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 ?

All these files (ocaml-ldconf, dh_ocamlld and debhelper scripts) must be
shipped with ocaml.

> 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 there are 2 possible locations (paths refer to the other mail):
   /etc/ocaml/paths or /var/lib/ocaml/(dpkg-)paths
I prefer having default paths in the former.

> 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.



Reply to: