postinstall: fontconfig abnormal exit

Andrey Repin anrdaemon@yandex.ru
Sat Sep 12 18:16:00 GMT 2020


Greetings, Ken Brown!

> Unfortunately, this doesn't yet fix the problem with fontconfig_dtd.sh.  The
> latter will now succeed if it is run after libxml2.sh, but not if it is run 
> first.  I'm not aware of any way to force setup to run one postinstall script 
> before another.  So maybe fontconfig_dtd.sh should be modified to include the 
> contents of libxml2.sh, like this:

> $ cat fontconfig_dtd.sh
> if [ -x /usr/bin/xmlcatalog ] ; then
>      if [ ! -f /etc/xml/catalog ] ; then
>          /bin/mkdir -p /etc/xml
>          /usr/bin/xmlcatalog --noout --create /etc/xml/catalog
>      fi
>      /usr/bin/xmlcatalog --noout --add "system" "fonts.dtd" 
> /usr/share/xml/fontconfig/fonts.dtd /etc/xml/catalog
> fi

install --verbose --mode=0755 --directory -- /etc/xml/catalog

> I can do a non-maintainer update of fontconfig that makes this change if people
> agree that it's a good idea.


-- 
With best regards,
Andrey Repin
Saturday, September 12, 2020 21:14:31

Sorry for my terrible english...



More information about the Cygwin mailing list