Skip to content

Commit

Permalink
Merge pull request #136 from yast/dvd_cd_url_scheme
Browse files Browse the repository at this point in the history
repositories - fixed switch between dvd:// and cd:// URL (bsc#947595)
  • Loading branch information
lslezak committed Oct 8, 2015
2 parents 57ecebd + 5c1bb0f commit d6eb94a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions package/yast2-packager.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 8 07:43:44 UTC 2015 - lslezak@suse.cz

- repository manager - fixed switch between dvd:// and cd:// URL
scheme (bsc#947595)
- 3.1.81

-------------------------------------------------------------------
Tue Oct 6 11:36:25 UTC 2015 - ancor@suse.com

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


Name: yast2-packager
Version: 3.1.80
Version: 3.1.81
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
4 changes: 2 additions & 2 deletions src/modules/SourceDialogs.rb
Expand Up @@ -814,9 +814,9 @@ def CDStore(key, event)
# preserve other URL options, e.g. ?devices=/dev/sr0
# change the URL only when necessary
if device == :cd && scheme != "cd"
@_url = "cd://"
@_url = "cd:///"
elsif device == :dvd && scheme != "dvd"
@_url = "dvd://"
@_url = "dvd:///"
end

nil
Expand Down

0 comments on commit d6eb94a

Please sign in to comment.