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

Re: new cm-super package available (with md5sum and pfb under dpkg hack)



On Mon, 26 Sep 2005, Rogério Brito wrote:
> if [ -e /usr/sbin/updmap-sys ]; then
>    /usr/sbin/updmap-sys
> else
>    /usr/bin/env updmap
> fi

Good idea. But: Does update-updmap exist in tetex-2? In the postinst
there is
	/usr/bin/env update-updmap
	/usr/bin/updmap-sys
and I guess I have to catch both of them.

I would go for
	if [ -x /usr/bin/update-updmap ] ; then
		/usr/bin/update-updmap
	fi
	if [ -x /usr/sbin/updmap-sys ] ; then
		/usr/sbin/updmap-sys
	else
		/usr/bin/env updmap
	fi

Complaints?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
sip:preining@at43.tuwien.ac.at                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
ROCHESTER (n.)
One who is able to gain occupation of the armrest on both sides of
their cinema or aircraft seat.
			--- Douglas Adams, The Meaning of Liff



Reply to: