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

[Pkg-fonts-devel] Bug#772687: Bug#772687: Bug#772687: Bug#772687: Bug#772687: fonts-droid: fallback font is installed too early to fontconfig



Norbert Preining <preining@logic.at> writes:

> On Sun, 28 Dec 2014, Vasudev Kamath wrote:
>> I've prepared the package and updated maintscript file to handle now
>> obsolete 65-droid-sans-fallback.conf file removal.
>
> Hmm, something is funny here ... building the package I see:
>
> for f in DroidSansFallback.ttf DroidSansFallbackLegacy.ttf ; \
> do \
> 	cd debian/fonts-droid/usr/share ; \
> 	mv fonts/truetype/droid/$f \
> 		fonts-droid/truetype/$f || true ; \
> done
> /bin/sh: 3: cd: can't cd to debian/fonts-droid/usr/share
>
> but stil the fonts end up in /usr/share/fonts-droid/truetype/ ...
> One of you will know why ...

It looks like Christian introduced these changes to close the
bug#762296, I think the error message comes second time when the cd is
executed in for loop. It still works because with first cd we are
already inside the directory where fonts are present.

The fix is move the cd outside the for loop. I'm not sure if we have to
include this now or wait for after Jessie.

Please suggest.

Cheers,
-- 
Vasudev Kamath
http://copyninja.info
Connect on ~friendica: copyninja@samsargika.copyninja.info
IRC nick: copyninja | vasudev {irc.oftc.net | irc.freenode.net}
GPG Key: C517 C25D E408 759D 98A4  C96B 6C8F 74AE 8770 0B7E

Attachment: signature.asc
Description: PGP signature


Reply to: