Skip to content

Commit

Permalink
only use the repo from root if installation media (bsc#1078768)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsrain committed Feb 7, 2018
1 parent a445f3e commit 13cdd45
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions package/yast2-packager.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 7 16:31:49 UTC 2018 - jsrain@suse.cz

- only use the repo from root if installation media (bsc#1078768)
- 4.0.36

-------------------------------------------------------------------
Fri Feb 2 11:56:09 UTC 2018 - igonzalezsosa@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-packager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-packager
Version: 4.0.35
Version: 4.0.36
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Packages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1730,7 +1730,7 @@ def Initialize_StageInitial(show_popup, base_url, log_url)
Pkg.SetZConfig("download_media_prefer_download" => false)

while initial_repository.nil?
initial_repository = Pkg.SourceCreateBase(base_url, "")
initial_repository = Pkg.SourceCreateBase(base_url, "/")
next unless initial_repository == -1 || initial_repository.nil?
Builtins.y2error("No repository in '%1'", log_url)
base_url = UpdateSourceURL(base_url)
Expand Down

0 comments on commit 13cdd45

Please sign in to comment.