[Libosinfo] [osinfo-db][PATCH] opensuse, install-script: Adjust the patterns to Leap 15.0
Fabiano Fidêncio
fabiano at fidencio.org
Sat May 26 20:29:39 UTC 2018
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 at fidencio.org>
---
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
More information about the Libosinfo
mailing list