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

Re: Bug#231235: arabtex font installation is broken



Hilmar Preusse <hille42@web.de> wrote:

> Few remarks:
> 1. updmap calls mktexlsr if not disabled explicitely.

I guess you mean mktexupd.

> 2. You should deregister your fonts in postrm
> 3. Your package delivers an nearly empty prerm-script.

There are several additional problems...

  1. The dependency on tetex-bin should be (>= 2).

  2. PATH should not be set in maintainer scripts (Policy § 6.1).

  3. The -e test for mktexlsr should be -x.
     Note: in postinst, mktexlsr should be here since arabtex depends on
     tetex-bin but it is not guaranteed to be around in postrm;

  4. The order of calls in postinst should be:
       update-updmap
       mktexlsr
       updmap

     and not mktexlsr, update-updmap, updmap because the update-updmap
     call might create updmap.cfg and updmap uses kpsewhich to find it
     (setupCfgFile -> locateWeb2c -> kpsewhich).

  5. /usr/sbin/update-updmap's path should not be harcoded.

  6. I think the mktexlsr and updmap stuff in postrm should not only be
     performed on remove, but also on disappear, though this should be
     something that happens very rarely.

-- 
Florent



Reply to: