Re: new cm-super package available (with md5sum and pfb under dpkg hack)
On Sep 26 2005, Norbert Preining wrote:
> Hi Rogério! Hi any DD out there!
>
> On Son, 25 Sep 2005, Rogério Brito wrote:
> > The only thing that I would like to suggest is to see if the user has
> > tetex 2.0 installed (which is probably the case for users of Debian, up
> > to unstable) and use utilities like updmap instead of the updmap-sys
> > (the "-sys" versions are only available in tetex >= 3.0, as far as I
> > know).
>
> Can someone tell me how to best make a test for this in the postinst
> script?
I think that something along the lines of the following would be a
solution:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ -e /usr/sbin/updmap-sys ]; then
/usr/sbin/updmap-sys
else
/usr/bin/env updmap
fi
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
What do others think about this?
Thank you very much for your response, Rogério Brito.
--
Rogério Brito : rbrito@ime.usp.br : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat: http://freshmeat.net/projects/algorithms/
Reply to: