Skip to content

Commit

Permalink
comment the change, add links
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jun 3, 2015
1 parent 90a7dd3 commit c1eb10f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/SourceDialogs.rb
Expand Up @@ -333,6 +333,9 @@ def PostprocessISOURL(url)
new_url = uri.dup
new_url.path = File.dirname(uri.path || "")
new_url.query = nil
# URL scheme in the "url" option must be set to "dir" (or empty)
# for a local ISO image (see https://bugzilla.suse.com/show_bug.cgi?id=919138
# and https://en.opensuse.org/openSUSE:Libzypp_URIs#ISO_Images )
new_url.scheme = "dir" if uri.scheme.downcase == "iso"
params["url"] = new_url.to_s

Expand Down

0 comments on commit c1eb10f

Please sign in to comment.