Remove /nix/store/<hash> prefixes from the manual.
svn path=/nixos/trunk/; revision=17673
This commit is contained in:
parent
2969f36b15
commit
2fe37ffe21
@ -154,7 +154,16 @@
|
||||
<xsl:attribute name="xlink:href">file://<xsl:value-of select="@value"/></xsl:attribute>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:value-of select="@value" />
|
||||
<!-- Print the filename and make it user-friendly by removing the
|
||||
/nix/store/<hash> prefix. -->
|
||||
<xsl:choose>
|
||||
<xsl:when test="start-with(@value, '/nix/store/')">
|
||||
<xsl:value-of select="substring-after(@value, '-')"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="@value" />
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</filename></member>
|
||||
</xsl:for-each>
|
||||
</simplelist>
|
||||
|
Loading…
Reference in New Issue
Block a user