diff options
-rw-r--r-- | repo/devel/docbook-xsl.xibuild | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/repo/devel/docbook-xsl.xibuild b/repo/devel/docbook-xsl.xibuild index e50db3c..2afecef 100644 --- a/repo/devel/docbook-xsl.xibuild +++ b/repo/devel/docbook-xsl.xibuild @@ -33,39 +33,39 @@ package () { $PKG_DEST/usr/share/doc/docbook-xsl-nons-$PKG_VER - if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi && + if [ ! -d $PKG_DEST/etc/xml ]; then install -v -m755 -d $PKG_DEST/etc/xml; fi && if [ ! -f $PKG_DEST/etc/xml/catalog ]; then xmlcatalog --noout --create $PKG_DEST/etc/xml/catalog -fi && - -xmlcatalog --noout --add "rewriteSystem" \ - "https://cdn.docbook.org/release/xsl-nons/$PKG_VER" \ - "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ - $PKG_DEST/etc/xml/catalog && - -xmlcatalog --noout --add "rewriteURI" \ - "https://cdn.docbook.org/release/xsl-nons/$PKG_VER" \ - "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ - $PKG_DEST/etc/xml/catalog && - -xmlcatalog --noout --add "rewriteSystem" \ - "https://cdn.docbook.org/release/xsl-nons/current" \ - "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ - $PKG_DEST/etc/xml/catalog && - -xmlcatalog --noout --add "rewriteURI" \ - "https://cdn.docbook.org/release/xsl-nons/current" \ - "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ - $PKG_DEST/etc/xml/catalog && - -xmlcatalog --noout --add "rewriteSystem" \ - "http://docbook.sourceforge.net/release/xsl/current" \ - "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ - $PKG_DEST/etc/xml/catalog && - -xmlcatalog --noout --add "rewriteURI" \ - "http://docbook.sourceforge.net/release/xsl/current" \ - "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ - $PKG_DEST/etc/xml/catalog + fi && + + xmlcatalog --noout --add "rewriteSystem" \ + "https://cdn.docbook.org/release/xsl-nons/$PKG_VER" \ + "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ + $PKG_DEST/etc/xml/catalog && + + xmlcatalog --noout --add "rewriteURI" \ + "https://cdn.docbook.org/release/xsl-nons/$PKG_VER" \ + "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ + $PKG_DEST/etc/xml/catalog && + + xmlcatalog --noout --add "rewriteSystem" \ + "https://cdn.docbook.org/release/xsl-nons/current" \ + "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ + $PKG_DEST/etc/xml/catalog && + + xmlcatalog --noout --add "rewriteURI" \ + "https://cdn.docbook.org/release/xsl-nons/current" \ + "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ + $PKG_DEST/etc/xml/catalog && + + xmlcatalog --noout --add "rewriteSystem" \ + "http://docbook.sourceforge.net/release/xsl/current" \ + "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ + $PKG_DEST/etc/xml/catalog && + + xmlcatalog --noout --add "rewriteURI" \ + "http://docbook.sourceforge.net/release/xsl/current" \ + "/usr/share/xml/docbook/xsl-stylesheets-nons-$PKG_VER" \ + $PKG_DEST/etc/xml/catalog } |