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

Re: purge_ld_conf.pl [Was: Re: the move to stublib]



On Tue, Sep 10, 2002 at 09:39:15AM +0200, Sven LUTHER wrote:
[...]
>   Well there are two problems with this:
> 
>   => The first is only potential since the /var/lib/ocaml/ld.conf is not that
>   big anyway, it is that we have to list directories to see if they are empty,
>   which may be a bit heavy for the system, especially if we do this many
>   times.

As you said, this risk is only potential ;)
Testing whether this directory exist should be enough, isn't it?

[...]
>   => The second problem is that if the cleanup script is only run one
>   ocaml-base is installed, if later on we upgrade a broken library, We
>   will have to rerun it.

You only have to ensure that sarge packages are right, i.e. ocaml-base
is fixed and all broken packages are uploaded at least once.  When
done, you can forget this whole stuff, which is IMO much more convenient
than dealing with a transition phase.

Denis



Reply to: