setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory
Ken Brown
kbrown@cornell.edu
Thu Mar 22 21:56:00 GMT 2018
On 3/7/2018 3:15 PM, Jon Turney wrote:
> Yeah, this looks like an ordering problem between libxml2 and
> libfontconfig-common.
>
>> $ cat /etc/postinstall/fontconfig_dtd.sh
>> if [ -x /usr/bin/xmlcatalog ] ; then
>> Â Â Â /usr/bin/xmlcatalog --noout --add "system" "fonts.dtd"
>> /usr/share/xml/fontconfig/fonts.dtd /etc/xml/catalog
>> fi
>>
>> $ cat /etc/postinstall/libxml2.sh
>> if test ! -f /etc/xml/catalog; then
>> Â Â Â Â Â Â Â /bin/mkdir -p /etc/xml
>> Â Â Â Â Â Â Â /usr/bin/xmlcatalog --noout --create /etc/xml/catalog
>> fi
>
> Not sure how to fix this.
>
> I think there's no actual dependency of libfontconfig-common on
> xmlcatalog, but we lack a triggering mechanism to say "run this script
> when this other package is installed"
/etc/postinstall/fontconfig_dtd.sh could check whether
/etc/postinstall/libxml2.sh exists. If so, it could run it and then add
'.done' so it isn't run again.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list