From 5c1bb0fcc3e0131654518b139ac3630e461499ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Thu, 8 Oct 2015 09:48:54 +0200 Subject: [PATCH] repositories - fixed switch between dvd:// and cd:// URL (bsc#947595) libzypp failed with "Url scheme requires path name" for cd:// or dvd:// URL, it requires cd:/// and dvd:/// --- package/yast2-packager.changes | 7 +++++++ package/yast2-packager.spec | 2 +- src/modules/SourceDialogs.rb | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/package/yast2-packager.changes b/package/yast2-packager.changes index 5f7ae04e9..2903e3bb0 100644 --- a/package/yast2-packager.changes +++ b/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 diff --git a/package/yast2-packager.spec b/package/yast2-packager.spec index 715fcc26e..aa2ceb4c8 100644 --- a/package/yast2-packager.spec +++ b/package/yast2-packager.spec @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 3.1.80 +Version: 3.1.81 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff --git a/src/modules/SourceDialogs.rb b/src/modules/SourceDialogs.rb index 78c56f23c..48a3e51b8 100644 --- a/src/modules/SourceDialogs.rb +++ b/src/modules/SourceDialogs.rb @@ -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