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

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

Josselin Mouette <joss@debian.org> wrote:

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

Such a check wouldn't be faster than running the actual script...

Regards, Frank
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

Reply to: