Skip to content

Commit

Permalink
Fixes #36741 - Check Ubuntu version more explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
bastian-src committed Sep 13, 2023
1 parent 6a29200 commit c1da492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/operatingsystems/debian.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def guess_os
def is_subiquity?
return false if guess_os != "ubuntu"
return false if major.to_i < 20
return false if major.to_i == 20 && minor.to_i <= 2
return false if major.to_i == 20 && minor.present? && minor.to_i <= 2
true # Ubuntu release 20.04.3 or newer
end

Expand Down

0 comments on commit c1da492

Please sign in to comment.