2010-12-16 01:50:11 +11:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-08-15 04:35:16 +02:00
|
|
|
PREV=1.79.1
|
|
|
|
CUR=1.79.2
|
2016-02-02 22:56:10 -06:00
|
|
|
CATALOG=/etc/xml/catalog
|
2010-12-16 01:50:11 +11:00
|
|
|
|
2023-01-22 20:50:09 -05:00
|
|
|
[ -d /etc/xml ] || install -m 0755 -d /etc/xml
|
|
|
|
[ -f ${CATALOG} ] || xmlcatalog --noout --create ${CATALOG}
|
2010-12-16 01:50:11 +11:00
|
|
|
|
2016-02-02 22:56:10 -06:00
|
|
|
xmlcatalog --noout --del "/usr/share/xml/docbook/xsl-stylesheets-${PREV}" \
|
|
|
|
${CATALOG}
|
|
|
|
|
2010-12-16 01:50:11 +11:00
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
2016-02-02 22:56:10 -06:00
|
|
|
"http://docbook.sourceforge.net/release/xsl/${CUR}" \
|
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-${CUR}" \
|
|
|
|
${CATALOG}
|
2010-12-16 01:50:11 +11:00
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
2016-02-02 22:56:10 -06:00
|
|
|
"http://docbook.sourceforge.net/release/xsl/${CUR}" \
|
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-${CUR}" \
|
|
|
|
${CATALOG}
|
2010-12-16 01:50:11 +11:00
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
|
|
"http://docbook.sourceforge.net/release/xsl/current" \
|
2016-02-02 22:56:10 -06:00
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-${CUR}" \
|
|
|
|
${CATALOG}
|
2010-12-16 01:50:11 +11:00
|
|
|
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
|
|
"http://docbook.sourceforge.net/release/xsl/current" \
|
2016-02-02 22:56:10 -06:00
|
|
|
"/usr/share/xml/docbook/xsl-stylesheets-${CUR}" \
|
|
|
|
${CATALOG}
|