Skip to content

Commit

Permalink
Merge d506ceb into 3048b36
Browse files Browse the repository at this point in the history
  • Loading branch information
wfeldt committed Oct 25, 2022
2 parents 3048b36 + d506ceb commit 69dde45
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions package/yast2-add-on.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 25 08:37:56 UTC 2022 - Steffen Winterfeldt <snwint@suse.com>

- support 'repo' scheme for add-ons (jsc#SLE-22578, jsc#SLE-24584)
- 4.5.2

-------------------------------------------------------------------
Tue Jun 7 16:19:52 UTC 2022 - Ladislav Slezák <lslezak@suse.cz>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-add-on.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-add-on
Version: 4.5.1
Version: 4.5.2
Release: 0
Summary: YaST2 - Add-On media installation code
License: GPL-2.0-only
Expand Down
2 changes: 1 addition & 1 deletion src/lib/add-on/clients/add-on_auto.rb
Expand Up @@ -262,7 +262,7 @@ def create_source(add_on, product, media_url)
def media_url_for(add_on)
media_url = add_on.fetch("media_url", "")

if media_url.downcase.start_with?("relurl://")
if ["relurl", "repo"].include?(URI(media_url).scheme)
media_url = AddOnProduct.GetAbsoluteURL(AddOnProduct.GetBaseProductURL, media_url)

log.info("relurl changed to #{media_url}")
Expand Down

0 comments on commit 69dde45

Please sign in to comment.