[Libosinfo] [osinfo-db PATCH] install-script, rhel, centos, desktop: Fix gnome-desktop & multimedia group install

Fabiano Fidêncio fidencio at redhat.com
Fri Jul 19 14:08:45 UTC 2019


Commit 0a74335fe32ebe moved the x11 group installation to only be done
for RHEL < 8. However, the condition was wrong and ended up with
gnome-desktop and multimedia groups not being installed on RHEL 7.

Let's fix the check and have those two groups installed for RHEL > 6.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 .../install-script/redhat.com/rhel-kickstart-desktop.xml.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in
index 7bfaf6e..3565d4f 100644
--- a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in
+++ b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in
@@ -193,11 +193,11 @@ repo --name=AppStream --baseurl=<xsl:call-template name="appstream-url"/>
 @basic-desktop
 @general-desktop
 @desktop-platform
-  </xsl:when>
-  <xsl:when test="os/version < 8">
- at x11
   </xsl:when>
   <xsl:otherwise>
+    <xsl:if test="os/version < 8">
+ at x11
+    </xsl:if>
 @gnome-desktop
 @multimedia
   </xsl:otherwise>
-- 
2.21.0




More information about the Libosinfo mailing list