diff options
author | Paul W. Frields <stickster@gmail.com> | 2006-01-20 01:06:15 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2006-01-20 01:06:15 +0000 |
commit | 275582ad9ff1239d23feae845f4fb50d07770952 (patch) | |
tree | 7f47c6eee55a72b7de6b31ef3ef8aeaa6ba1ccbd | |
parent | 497233cc9bb7d072b77d839a2bce1bb2c0cec24d (diff) | |
download | fedora-doc-utils-275582ad9ff1239d23feae845f4fb50d07770952.tar.gz fedora-doc-utils-275582ad9ff1239d23feae845f4fb50d07770952.tar.xz fedora-doc-utils-275582ad9ff1239d23feae845f4fb50d07770952.zip |
Need to handle lang dirs properly in OMF
-rw-r--r-- | packaging/omf.xsl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packaging/omf.xsl b/packaging/omf.xsl index 8ffcb4b..aacb0c1 100644 --- a/packaging/omf.xsl +++ b/packaging/omf.xsl @@ -33,7 +33,14 @@ <xsl:call-template name="get-title"/> </type> <format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.2//EN"/> - <identifier url="file:/usr/share/fedora/doc/fedora-doc-{$docbase}/{$lang}/{$docbase}-{$lang}.xml" /> + <xsl:choose> + <xsl:when test="$lang='en'"> + <identifier url="file:/usr/share/fedora/doc/fedora-doc-{$docbase}/C/{$docbase}-{$lang}.xml"/> + </xsl:when> + <xsl:otherwise> + <identifier url="file:/usr/share/fedora/doc/fedora-doc-{$docbase}/${lang}/{$docbase}-{$lang}.xml"/> + </xsl:otherwise> + </xsl:choose> <language code="{$lang}"/> <relation seriesid="7a5d3ea2-2a1e-11da-86a3-8ea47a4bb227"/> <rights type="GNU FDL" license.version="1.1" /> |