[Libosinfo] [osinfo-db PATCH 3/8] fedora: Fix command-line template identation

Fabiano Fidêncio fidencio at redhat.com
Thu Apr 25 13:27:55 UTC 2019


https://gitlab.com/libosinfo/osinfo-db/issues/26

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 .../fedora-kickstart-desktop.xml.in           | 24 +++++++++----------
 .../fedora-kickstart-jeos.xml.in              | 24 +++++++++----------
 2 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
index cd2d517..dcdb93f 100644
--- a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
+++ b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
@@ -96,18 +96,18 @@
         </xsl:template>
 
         <xsl:template match="/command-line">
-            <xsl:text>ks=</xsl:text>
-            <xsl:choose>
-              <xsl:when test="script/preferred-injection-method = 'initrd'">
-                <xsl:text>file:/</xsl:text>
-              </xsl:when>
-              <xsl:otherwise>
-                <xsl:text>hd:</xsl:text>
-                <xsl:call-template name="script-disk"/>
-                <xsl:text>:/</xsl:text>
-              </xsl:otherwise>
-            </xsl:choose>
-            <xsl:value-of select="script/expected-filename"/>
+          <xsl:text>ks=</xsl:text>
+          <xsl:choose>
+            <xsl:when test="script/preferred-injection-method = 'initrd'">
+              <xsl:text>file:/</xsl:text>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:text>hd:</xsl:text>
+              <xsl:call-template name="script-disk"/>
+              <xsl:text>:/</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:value-of select="script/expected-filename"/>
         </xsl:template>
 
         <xsl:template match="/install-script-config">
diff --git a/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in b/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
index 7683b6a..07fc932 100644
--- a/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
+++ b/data/install-script/fedoraproject.org/fedora-kickstart-jeos.xml.in
@@ -88,18 +88,18 @@
         </xsl:template>
 
         <xsl:template match="/command-line">
-            <xsl:text>ks=</xsl:text>
-            <xsl:choose>
-              <xsl:when test="script/preferred-injection-method = 'initrd'">
-                <xsl:text>file:/</xsl:text>
-              </xsl:when>
-              <xsl:otherwise>
-                <xsl:text>hd:</xsl:text>
-                <xsl:call-template name="script-disk"/>
-                <xsl:text>:/</xsl:text>
-              </xsl:otherwise>
-            </xsl:choose>
-            <xsl:value-of select="script/expected-filename"/>
+          <xsl:text>ks=</xsl:text>
+          <xsl:choose>
+            <xsl:when test="script/preferred-injection-method = 'initrd'">
+              <xsl:text>file:/</xsl:text>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:text>hd:</xsl:text>
+              <xsl:call-template name="script-disk"/>
+              <xsl:text>:/</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:value-of select="script/expected-filename"/>
         </xsl:template>
 
         <xsl:template match="/install-script-config">
-- 
2.21.0




More information about the Libosinfo mailing list