diff options
Diffstat (limited to 'abs/extra/docbook-xsl/docbook-xsl.install')
-rw-r--r-- | abs/extra/docbook-xsl/docbook-xsl.install | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/abs/extra/docbook-xsl/docbook-xsl.install b/abs/extra/docbook-xsl/docbook-xsl.install index c84d929..aa386ec 100644 --- a/abs/extra/docbook-xsl/docbook-xsl.install +++ b/abs/extra/docbook-xsl/docbook-xsl.install @@ -5,19 +5,29 @@ post_install() { _NEW=`echo $1 | sed 's|\(.*\)\-.*|\1|'` xmlcatalog --noout --add "rewriteSystem" \ - "http://docbook.sourceforge.net/release/xsl/${_NEW}" \ + "http://cdn.docbook.org/release/xsl/${_NEW}" \ "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \ etc/xml/catalog xmlcatalog --noout --add "rewriteURI" \ - "http://docbook.sourceforge.net/release/xsl/${_NEW}" \ + "http://cdn.docbook.org/release/xsl/${_NEW}" \ "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \ - etc/xml/catalog && + etc/xml/catalog + + xmlcatalog --noout --add "rewriteSystem" \ + "http://cdn.docbook.org/release/xsl/current" \ + "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \ + etc/xml/catalog + + xmlcatalog --noout --add "rewriteURI" \ + "http://cdn.docbook.org/release/xsl/current" \ + "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \ + etc/xml/catalog xmlcatalog --noout --add "rewriteSystem" \ "http://docbook.sourceforge.net/release/xsl/current" \ "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \ - etc/xml/catalog && + etc/xml/catalog xmlcatalog --noout --add "rewriteURI" \ "http://docbook.sourceforge.net/release/xsl/current" \ |