New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG FIX] Linux installers #203
Changes from 19 commits
9627fe8
c7904b4
bc70a8f
5353108
59ccf59
b949202
fc0620b
fa63690
e90d232
6c724ad
68824db
ea5ab34
ff575d7
c0bdc74
ede203f
d4018b0
25e3599
c917886
05b6f65
f406471
16993c3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,9 +110,7 @@ def strip_version(name) | |
def platform_target | ||
if platform_family?('windows') | ||
'target=x86_64-windows' | ||
elsif platform_family?('rhel') && node['platform_version'].to_i < 6 | ||
'target=x86_64-linux-kernel2' | ||
elsif platform_family?('suse') && node['platform_version'].to_i < 6 | ||
elsif node['kernel']['release'].to_f < 3.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You could easily just .to_i < 3 here as well. No need to treat it as a float There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're right. It think at first I was accidentally calling version rather than release and didnt understand why I was failing and forgot to change it when i caught my original mistake. Will change that up and push it again |
||
'target=x86_64-linux-kernel2' | ||
else | ||
'' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. This was some hot nonesense here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was causing some serious crazy to happen