Skip to content

Commit

Permalink
Check products_supported_for_upgrade when selecting partition already
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Oct 30, 2017
1 parent cab2845 commit 4eb904d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/RootPart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1938,6 +1938,8 @@ def CheckPartition(filesystem)
return deep_copy(freshman)
end

freshman[:valid] = false if !Update.IsProductSupportedForUpgrade

# Get installed release name
# TRANSLATORS: label for an unknown installed system
freshman[:name] = Update.installed_product || _("Unknown")
Expand Down

0 comments on commit 4eb904d

Please sign in to comment.