trying arch fix

This commit is contained in:
inxi-svn 2008-11-18 21:00:32 +00:00
parent de22e58936
commit 910cb86857

2
inxi
View file

@ -1268,7 +1268,7 @@ get_distro_lsb_data()
/^DISTRIB_ID/ {
gsub(/^ +| +$/, "", $NF)
# this is needed because grep for "arch" is too loose to be safe
if ( $NF = "arch" ) {
if ( $NF == "arch" ) {
distroId = "Arch Linux"
}
else if ( $NF != "n/a" ) {