diff options
author | Paul W. Frields <stickster@gmail.com> | 2007-03-11 20:44:29 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2007-03-11 20:44:29 +0000 |
commit | 3197e330900a1778e2b2b19091f1218ab3eaf797 (patch) | |
tree | fcbdf3ef3a5fc52a4f231ced27286aa4be3c5bb5 /packaging/migrate-rpminfo.xsl | |
parent | 61470a7fb5a2429fb0566847b08ca2b69407df0a (diff) | |
download | fedora-doc-utils-3197e330900a1778e2b2b19091f1218ab3eaf797.tar.gz fedora-doc-utils-3197e330900a1778e2b2b19091f1218ab3eaf797.tar.xz fedora-doc-utils-3197e330900a1778e2b2b19091f1218ab3eaf797.zip |
Fix to properly pull only correct details for this $LANG
Diffstat (limited to 'packaging/migrate-rpminfo.xsl')
-rw-r--r-- | packaging/migrate-rpminfo.xsl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/migrate-rpminfo.xsl b/packaging/migrate-rpminfo.xsl index c47c969..f279317 100644 --- a/packaging/migrate-rpminfo.xsl +++ b/packaging/migrate-rpminfo.xsl @@ -50,7 +50,9 @@ <xsl:for-each select="*"> <xsl:choose> <xsl:when test="name(.)='details'"> - <xsl:call-template name="detailtemplate" /> + <xsl:if test="@lang=$lang"> + <xsl:call-template name="detailtemplate" /> + </xsl:if> </xsl:when> <xsl:otherwise> <xsl:copy-of select="." /> |