[osinfo-db][PATCH] opensuse, install-script: Adjust the patterns to Leap 15.0

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

 



Two patterns, devel_basis and yast2_install_wf, have been removed from
autoyast for the Leap 15.0.

Let's just install them for Leap 42.2 and 42.3

Signed-off-by: Fabiano Fidêncio <fabiano@xxxxxxxxxxxx>
---
 data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in | 7 +++++--
 1 file changed, 5 insertions(+), 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 537c266..b0227c9 100644
--- a/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
+++ b/data/install-script/opensuse.org/opensuse-autoyast-desktop.xml.in
@@ -263,7 +263,6 @@ zypper ar -f <xsl:call-template name="repo-update-oss"/> repo-update-oss
                 <pattern>apparmor</pattern>
                 <pattern>apparmor_opt</pattern>
                 <pattern>console</pattern>
-                <pattern>devel_basis</pattern>
                 <pattern>enhanced_base</pattern>
                 <pattern>enhanced_base_opt</pattern>
                 <pattern>fonts</pattern>
@@ -272,7 +271,11 @@ zypper ar -f <xsl:call-template name="repo-update-oss"/> repo-update-oss
                 <pattern>print_server</pattern>
                 <pattern>sw_management</pattern>
                 <pattern>yast2_basis</pattern>
-                <pattern>yast2_install_wf</pattern>
+                <!-- Those patterns are only present in Leap 42.2 and 42.3 -->
+                <xsl:if test="contains(os/version, '42')">
+                  <pattern>devel_basis</pattern>
+                  <pattern>yast2_install_wf</pattern>
+                </xsl:if>
               </patterns>
             </software>
             <sysconfig config:type="list">
-- 
2.14.3

_______________________________________________
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