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

Re: Finding out in postinst whether some other package is configured

Le vendredi 14 octobre 2005 à 22:23 -0400, Anthony DeRobertis a écrit :
> Frank Küster wrote:
> > In the particular case, the reason is something else: If the recommended
> > package B (tetex-bin) is there, it makes sense to run one of its
> > executables (mktexlsr, updmap) to register the files of package A (any TeX
> > font package).  This is a time-consuming process.  However, if B is
> > installed but unconfigured, we can save this time because when B is
> > configured, it will run these executables, anyway, and doing this also
> > will pick up package A's files.

Isn't it possible to run a consistency check, to know whether it is
necessary to re-run mktexlsr/updmap before actually running them?

> Sounds to me like package B should be performing these optimizations,
> not package A.

As there can be several "packages A", this is the kind of thing that
should be done in all their postinsts.
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: