fix: typo
This commit is contained in:
parent
e18ddf8a11
commit
a930b8d9b8
@ -130,7 +130,8 @@ func (centos CentOS) runs() (commands []string) {
|
|||||||
|
|
||||||
cmdf("yum -y groupinstall 'Development Tools'")
|
cmdf("yum -y groupinstall 'Development Tools'")
|
||||||
|
|
||||||
if centos.release <= 6 {
|
// TODO do not use lexycographical comparison, change to parse int
|
||||||
|
if centos.release <= "6" {
|
||||||
cmdf("yum -y install kernel-firmware")
|
cmdf("yum -y install kernel-firmware")
|
||||||
} else {
|
} else {
|
||||||
cmdf("yum -y install linux-firmware")
|
cmdf("yum -y install linux-firmware")
|
||||||
|
Loading…
Reference in New Issue
Block a user