diff options
author | davidovski <david@davidovski.xyz> | 2022-02-01 20:21:16 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-01 20:21:16 +0000 |
commit | 5aaa6147d393547d4c5c0e123cc9d69c6d2103ed (patch) | |
tree | 46e8cc1e843a8169b6a8ef5c279f6e7b86f0f434 /repo/devel/docbook-xml.xibuild | |
parent | 688133d42de652808bebc2032660e529cab3546b (diff) |
fixed erroneous references when installing xmlcatalogs
Diffstat (limited to 'repo/devel/docbook-xml.xibuild')
-rw-r--r-- | repo/devel/docbook-xml.xibuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/repo/devel/docbook-xml.xibuild b/repo/devel/docbook-xml.xibuild index bda441c..e91cb05 100644 --- a/repo/devel/docbook-xml.xibuild +++ b/repo/devel/docbook-xml.xibuild @@ -17,13 +17,13 @@ package () { $PKG_DEST/usr/share/xml/docbook/stylesheet/docbook5 - if [ ! -e /etc/xml/docbook-$PKG_VER ]; then - xmlcatalog --noout --create /etc/xml/docbook-$PKG_VER + if [ ! -e $PKG_DEST/etc/xml/docbook-$PKG_VER ]; then + xmlcatalog --noout --create $PKG_DEST/etc/xml/docbook-$PKG_VER fi && xmlcatalog --noout --add "uri" \ "http://www.oasis-open.org/docbook/xml/$PKG_VER/rng/docbook.rng" \ - "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rng" \ + "file://$PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rng" \ $PKG_DEST/etc/xml/docbook-$PKG_VER && xmlcatalog --noout --add "uri" \ "http://docbook.org/xml/$PKG_VER/rng/docbook.rng" \ @@ -64,7 +64,7 @@ xmlcatalog --noout --add "uri" \ $PKG_DEST/etc/xml/docbook-$PKG_VER -xmlcatalog --noout --create /usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && +xmlcatalog --noout --create $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && xmlcatalog --noout --add "uri" \ "http://docbook.org/xml/$PKG_VER/schemas/rng/docbook.schemas/rng" \ @@ -100,8 +100,8 @@ xmlcatalog --noout --add "uri" \ "docbook.schemas/sch" $PKG_DEST/usr/share/xml/docbook/schema/sch/$PKG_VER/catalog.xml -if [ ! -e /etc/xml/catalog ]; then - xmlcatalog --noout --create /etc/xml/catalog +if [ ! -e $PKG_DEST/etc/xml/catalog ]; then + xmlcatalog --noout --create $PKG_DEST/etc/xml/catalog fi && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//DTD DocBook XML $PKG_VER//EN" \ |