[osinfo-db PATCH 07/16] install-script, opensuse: Remove extra empty space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 .../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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux