4c721f6c0a
Add patch pending upstream.
37 lines
925 B
Bash
Executable File
37 lines
925 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PREV=1.79.1
|
|
CUR=1.79.2
|
|
CATALOG=/etc/xml/catalog
|
|
|
|
if [ ! -d /etc/xml ]; then
|
|
install -m 0755 -d /etc/xml
|
|
fi
|
|
|
|
if [ ! -f ${CATALOG} ]; then
|
|
xmlcatalog --noout --create ${CATALOG}
|
|
fi
|
|
|
|
xmlcatalog --noout --del "/usr/share/xml/docbook/xsl-stylesheets-${PREV}" \
|
|
${CATALOG}
|
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
"http://docbook.sourceforge.net/release/xsl/${CUR}" \
|
|
"/usr/share/xml/docbook/xsl-stylesheets-${CUR}" \
|
|
${CATALOG}
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
"http://docbook.sourceforge.net/release/xsl/${CUR}" \
|
|
"/usr/share/xml/docbook/xsl-stylesheets-${CUR}" \
|
|
${CATALOG}
|
|
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
"http://docbook.sourceforge.net/release/xsl/current" \
|
|
"/usr/share/xml/docbook/xsl-stylesheets-${CUR}" \
|
|
${CATALOG}
|
|
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
"http://docbook.sourceforge.net/release/xsl/current" \
|
|
"/usr/share/xml/docbook/xsl-stylesheets-${CUR}" \
|
|
${CATALOG}
|