[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)



Norbert Preining wrote:
> On Mon, 26 Sep 2005, Frank Küster wrote:
>>> if [ -x /usr/sbin/updmap-sys ] ; then
>> 
>> ,---- Policy 6.1 | Programs called from maintainer scripts should
>> not normally have a | path prepended to them. `----
>> 
>> so I'd just use updmap-sys or updmap, respectively, and no env
>> hacks.
> 
> But how can I check on the existence of updmap-sys? There is a lot of
>  discussion in the maint guide (afair), but no definitive answer.

The debhelper script for X11 font installation uses:

if which update-fonts-dir >/dev/null 2>&1; then
	update-fonts-scale Type1;update-fonts-dir Type1
fi

I would expect this to be policy compliant.

cheerio
ralf



Reply to: