Skip to content

Commit

Permalink
Fixes for the offline medium
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Sep 26, 2019
1 parent e6bc7e5 commit 9b14264
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/y2packager/clients/inst_product_license.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ def multi_product_media?
if Y2Packager::MediumType.online?
# in an online installation read the products from the control.xml
Y2Packager::ProductControlProduct.products.size > 1
elsif Y2Packager::MediumType.offline?
# the offline medium contains several products but in separate repositories
true
else
# otherwise read the products from the medium
Y2Packager::Product.available_base_products.size > 1
Expand Down
4 changes: 4 additions & 0 deletions src/lib/y2packager/product_location.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,9 @@ def summary

details.summary
end

def order
details&.order
end
end
end

0 comments on commit 9b14264

Please sign in to comment.