Bug#175606: Modified postinst
From: Simon Law <sfllaw@engmail.uwaterloo.ca>
Subject: Bug#175606: Modified postinst
Date: Thu, 9 Jan 2003 07:29:09 -0500
> > I'm not completely satisfied with a solution but I
> > added "mktexlsr" and just uploaded the new package.
>
> Since the system breaks because TEXMFMAIN isn't being set, wrap
> that second mktexlsr with
>
> if [ ! "`kpsewhich --expand-var='$TEXMFMAIN'`" ]; then
> mktexlsr
> fi
I'm not sure yet when the first if-test failed and
the second if-test succeeded.
I have an impression that when TEXMFMAIN isn't set
it will be better to skip to run updmap.
My design is,
- when there is enough environment, run updmap and update
psfonts.map etc.
- but if it is not enough, restore the original state
The second if-test seems not enough at present, perhaps.
Thanks, 2003-1-10(Fri)
--
Debian Developer & Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda@debian.org>
Department of Math., Tokushima Univ.
Reply to: