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

Re: ocaml 3.04-3 uploaded

On Tue, Jan 22, 2002 at 09:22:24PM +0100, Denis Barbier wrote:
> 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.

Ok, ...

Can it be used in the post-inst even if they are part of the same package ? i
suppose this may work, since the files are already there when postinst are

That said, naturally i cannot use them to generate the postinst of ocaml-base,
in which they are contained, but i can live by that.

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

Well, i suppose i will ship only the modified by dpkg one, the user one would
be empty, with a commentary on top, maybe.

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

Will work on it more ...


Sven Luther

Reply to: