mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
final extra white space bug fix
This commit is contained in:
parent
4c37defd0c
commit
521bc41040
7
inxi
7
inxi
|
@ -3131,18 +3131,19 @@ get_graphics_glx_data()
|
||||||
IGNORECASE=1
|
IGNORECASE=1
|
||||||
}
|
}
|
||||||
/opengl renderer/ {
|
/opengl renderer/ {
|
||||||
if ( $2 ~ /mesa/ ) {
|
|
||||||
# Allow all mesas
|
|
||||||
# if ( $2 ~ / r[3-9][0-9][0-9] / ) {
|
|
||||||
gsub(/'"$BAN_LIST_NORMAL"'/, "", $2)
|
gsub(/'"$BAN_LIST_NORMAL"'/, "", $2)
|
||||||
gsub(/ [ \t]+/, " ", $2) # get rid of the created white spaces
|
gsub(/ [ \t]+/, " ", $2) # get rid of the created white spaces
|
||||||
gsub(/^ +| +$/, "", $2)
|
gsub(/^ +| +$/, "", $2)
|
||||||
|
if ( $2 ~ /mesa/ ) {
|
||||||
|
# Allow all mesas
|
||||||
|
# if ( $2 ~ / r[3-9][0-9][0-9] / ) {
|
||||||
a[$2]
|
a[$2]
|
||||||
# this counter failed in one case, a bug, and is not needed now
|
# this counter failed in one case, a bug, and is not needed now
|
||||||
# f++
|
# f++
|
||||||
# }
|
# }
|
||||||
next
|
next
|
||||||
}
|
}
|
||||||
|
|
||||||
$2 && a[$2]
|
$2 && a[$2]
|
||||||
}
|
}
|
||||||
# dropping all conditions from this test to just show full mesa information
|
# dropping all conditions from this test to just show full mesa information
|
||||||
|
|
Loading…
Reference in a new issue