- Handle missing enabled and priority elements
OBS-URL: https://build.opensuse.org/package/show/system:install:head/live-add-yast-repos?expand=0&rev=5
This commit is contained in:
parent
5c7a4dbc0f
commit
506b365005
@ -8,13 +8,16 @@
|
||||
|
||||
<xsl:for-each select="y:productDefines/y:software/y:extra_urls/y:extra_url">
|
||||
<xsl:text>zypper addrepo</xsl:text>
|
||||
<xsl:if test="y:enabled != 'true'">
|
||||
<!-- disabled if not set -->
|
||||
<xsl:if test="not(y:enabled = 'true')">
|
||||
<xsl:text> --disable</xsl:text>
|
||||
</xsl:if>
|
||||
<xsl:if test="y:autorefresh = 'true'">
|
||||
<xsl:text> --refresh</xsl:text>
|
||||
</xsl:if>
|
||||
<xsl:text> -p </xsl:text><xsl:value-of select="y:priority"/>
|
||||
<xsl:if test="y:priority">
|
||||
<xsl:text> -p </xsl:text><xsl:value-of select="y:priority"/>
|
||||
</xsl:if>
|
||||
<xsl:text> --name '</xsl:text>
|
||||
<xsl:value-of select="y:name"/>
|
||||
<xsl:text>' '</xsl:text>
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 10 16:00:28 UTC 2018 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- Handle missing enabled and priority elements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 2 08:18:32 UTC 2018 - fvogt@suse.com
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user