mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
trying arch fix
This commit is contained in:
parent
de22e58936
commit
910cb86857
2
inxi
2
inxi
|
@ -1268,7 +1268,7 @@ get_distro_lsb_data()
|
||||||
/^DISTRIB_ID/ {
|
/^DISTRIB_ID/ {
|
||||||
gsub(/^ +| +$/, "", $NF)
|
gsub(/^ +| +$/, "", $NF)
|
||||||
# this is needed because grep for "arch" is too loose to be safe
|
# this is needed because grep for "arch" is too loose to be safe
|
||||||
if ( $NF = "arch" ) {
|
if ( $NF == "arch" ) {
|
||||||
distroId = "Arch Linux"
|
distroId = "Arch Linux"
|
||||||
}
|
}
|
||||||
else if ( $NF != "n/a" ) {
|
else if ( $NF != "n/a" ) {
|
||||||
|
|
Loading…
Reference in a new issue