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

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



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 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 &lt; 8">
- x11
   </xsl:when>
   <xsl:otherwise>
+    <xsl:if test="os/version &lt; 8">
+ x11
+    </xsl:if>
 @gnome-desktop
 @multimedia
   </xsl:otherwise>
-- 
2.21.0


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