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

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

 



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

_______________________________________________
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