From 0f4df7ccfde2e9c1cb834ca687a5c69b307d06e0 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 18 Nov 2022 15:36:07 +0100 Subject: [PATCH] BLFS tools: don't generate duplicate download code For additional downloads, the normal book layout is a containing "Additional Downloads" followed by one or more , one for each file to download. But on some pages, there are several , each followed by one or more . So we have to check that only the correponding to the current are treated. Otherwise, the download code may be generated more than once. This imposes that no other bridgehead is inserted between the one containing "Additional" (or in some case "Recommended/Optional Download") and the . --- BLFS/xsl/scripts.xsl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 5561af7..cb0cc70 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -538,16 +538,19 @@ echo " - - -