mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Fixed broken commands in the for loop in the DocBook XML DTD instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3616 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
0fa91c667a
commit
9c9fb93c64
@ -71,8 +71,9 @@ chown -R root:root . &&
|
||||
cp -v -af docbook.cat *.dtd ent/ *.mod \
|
||||
/usr/share/xml/docbook/xml-dtd-&DocBook-version;</command></userinput></screen>
|
||||
|
||||
<para>Create and populate the <filename>/etc/xml/docbook</filename> catalog
|
||||
file by running the following commands as the root user:</para>
|
||||
<para>Create (or update) and populate the
|
||||
<filename>/etc/xml/docbook</filename> catalog file by running the following
|
||||
commands as the root user:</para>
|
||||
|
||||
<screen><userinput role='root'><command>if [ ! -e /etc/xml/docbook ]; then
|
||||
xmlcatalog --noout --create /etc/xml/docbook
|
||||
@ -122,24 +123,29 @@ xmlcatalog --noout --add "rewriteURI" \
|
||||
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
|
||||
/etc/xml/docbook</command></userinput></screen>
|
||||
|
||||
<para>Create and populate the <filename>/etc/xml/catalog</filename> catalog
|
||||
file by running the following commands as the root user:</para>
|
||||
<para>Create (or update) and populate the
|
||||
<filename>/etc/xml/catalog</filename> catalog file by running the following
|
||||
commands as the root user:</para>
|
||||
|
||||
<screen><userinput role='root'><command>if [ ! -e /etc/xml/catalog ]; then
|
||||
xmlcatalog --noout --create /etc/xml/catalog
|
||||
fi &&
|
||||
xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//ENTITIES DocBook XML" \
|
||||
"file:///etc/xml/docbook" /etc/xml/catalog &&
|
||||
"file:///etc/xml/docbook" \
|
||||
/etc/xml/catalog &&
|
||||
xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//DTD DocBook XML" \
|
||||
"file:///etc/xml/docbook" /etc/xml/catalog &&
|
||||
"file:///etc/xml/docbook" \
|
||||
/etc/xml/catalog &&
|
||||
xmlcatalog --noout --add "delegateSystem" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file:///etc/xml/docbook" /etc/xml/catalog &&
|
||||
"file:///etc/xml/docbook" \
|
||||
/etc/xml/catalog &&
|
||||
xmlcatalog --noout --add "delegateURI" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file:///etc/xml/docbook" /etc/xml/catalog</command></userinput></screen>
|
||||
"file:///etc/xml/docbook" \
|
||||
/etc/xml/catalog</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -174,23 +180,23 @@ do
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \
|
||||
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \
|
||||
/etc/xml/docbook &&
|
||||
/etc/xml/docbook
|
||||
xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
|
||||
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
|
||||
/etc/xml/docbook &&
|
||||
/etc/xml/docbook
|
||||
xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
|
||||
"file:///usr/share/xml/docbook/xml-dtd-&DocBook-version;" \
|
||||
/etc/xml/docbook &&
|
||||
/etc/xml/docbook
|
||||
xmlcatalog --noout --add "delegateSystem" \
|
||||
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
|
||||
"file:///etc/xml/docbook" \
|
||||
/etc/xml/catalog &&
|
||||
/etc/xml/catalog
|
||||
xmlcatalog --noout --add "delegateURI" \
|
||||
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
|
||||
"file:///etc/xml/docbook" \
|
||||
/etc/xml/catalog &&
|
||||
/etc/xml/catalog
|
||||
done</command></userinput></screen>
|
||||
</sect3>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user