1
0

fix: typo

This commit is contained in:
dump_stack() 2023-05-25 12:46:21 +00:00
parent e18ddf8a11
commit a930b8d9b8
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -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")