summaryrefslogtreecommitdiffstats
path: root/packaging/migrate-rpminfo.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/migrate-rpminfo.xsl')
-rw-r--r--packaging/migrate-rpminfo.xsl4
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="." />