aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2023-12-07 17:11:52 +0100
committerPierre Labastie <pierre.labastie@neuf.fr>2023-12-07 17:11:52 +0100
commite6efe4c9860e1622814c00edb83b2f407aeffec0 (patch)
treef7b75904bf762a3cd3667f8a38ee771bfdba6d94
parentca368adbe562917cf8814577b6793bb694c5d224 (diff)
plasma-post-install: fix installed version
In gen-special.sh, the generated specialCases.xsl takes installed version for $package instead of plasma-post-install (copy/paste error). This generates a bad version (the one of plasma instead of the dummy 1.0.0). Change $package to plasma-post-install...
-rwxr-xr-xBLFS/gen-special.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/BLFS/gen-special.sh b/BLFS/gen-special.sh
index 360a360a6c..b64b7a21bc 100755
--- a/BLFS/gen-special.sh
+++ b/BLFS/gen-special.sh
@@ -200,11 +200,11 @@ EOF
<module><xsl:text>&#xA; </xsl:text>
<xsl:element name="name">plasma-post-install</xsl:element>
<xsl:element name="version">1.0.0</xsl:element>
- <xsl:if test="document(\$installed-packages)//package[name='$packname']">
+ <xsl:if test="document(\$installed-packages)//package[name='plasma-post-install']">
<xsl:element name="inst-version">
<xsl:value-of
select="document(\$installed-packages
- )//package[name='$packname']/version"/>
+ )//package[name='plasma-post-install']/version"/>
</xsl:element>
</xsl:if>
<!-- Dependencies -->