[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.
> Its documentation says that multiple directories can be put on command line,
> but it does not work.  We can either fix Stefano's tool to accept multiple
> -a and -r flags on command line, or change dh_ocamlld to call it for each
> directory, in which case the last block becomes

This would be no problem, i think, since anyway most packages install the dlls
only in one directory. We can always call it multiple time if this is not the
case, but then the multiple -a and -r flags would be a better option.


Sven Luther

Reply to: