[Libosinfo] [osinfo-db PATCH 06/15] install-script, opensuse: Remove extra empty space

Fabiano Fidêncio fidencio at redhat.com
Thu Jun 13 11:48:25 UTC 2019


repo-oss template has been generating an empy extra space before the URL
it returns, which may break unattended installations.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 .../install-script/opensuse.org/opensuse-autoyast-desktop.xml.in | 1 -
 data/install-script/opensuse.org/opensuse-autoyast-jeos.xml.in   | 1 -
 2 files changed, 2 deletions(-)

diff --git a/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in b/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
index 07261aa..88c6f51 100644
--- a/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
+++ b/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
@@ -82,7 +82,6 @@
         </xsl:template>
 
         <xsl:template name="repo-oss">
-          <xsl:text> </xsl:text>
           <xsl:text>http://download.opensuse.org/</xsl:text>
           <xsl:if test="not(contains(os/version, 'tumbleweed'))">
             <xsl:text>distribution/leap/</xsl:text>
diff --git a/data/install-script/opensuse.org/opensuse-autoyast-jeos.xml.in b/data/install-script/opensuse.org/opensuse-autoyast-jeos.xml.in
index 74d1977..4ae1280 100644
--- a/data/install-script/opensuse.org/opensuse-autoyast-jeos.xml.in
+++ b/data/install-script/opensuse.org/opensuse-autoyast-jeos.xml.in
@@ -73,7 +73,6 @@
         </xsl:template>
 
         <xsl:template name="repo-oss">
-          <xsl:text> </xsl:text>
           <xsl:text>http://download.opensuse.org/</xsl:text>
           <xsl:if test="not(contains(os/version, 'tumbleweed'))">
             <xsl:text>distribution/leap/</xsl:text>
-- 
2.21.0




More information about the Libosinfo mailing list