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 | |
parent | 688133d42de652808bebc2032660e529cab3546b (diff) |
fixed erroneous references when installing xmlcatalogs
Diffstat (limited to 'repo/devel')
-rw-r--r-- | repo/devel/docbook-xml.xibuild | 12 | ||||
-rw-r--r-- | repo/devel/docbook-xsl.xibuild | 4 |
2 files changed, 8 insertions, 8 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" \ diff --git a/repo/devel/docbook-xsl.xibuild b/repo/devel/docbook-xsl.xibuild index f4280be..e50db3c 100644 --- a/repo/devel/docbook-xsl.xibuild +++ b/repo/devel/docbook-xsl.xibuild @@ -34,8 +34,8 @@ package () { if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi && -if [ ! -f /etc/xml/catalog ]; then - xmlcatalog --noout --create /etc/xml/catalog + if [ ! -f $PKG_DEST/etc/xml/catalog ]; then + xmlcatalog --noout --create $PKG_DEST/etc/xml/catalog fi && xmlcatalog --noout --add "rewriteSystem" \ |