adding in CPC abbreviation on the off chance that 'Compatibility Profile Context' actually means something for fglrx opengl version

This commit is contained in:
inxi-svn 2011-05-29 16:37:22 +00:00
parent a988de3ba0
commit eb9db620ba

2
inxi
View file

@ -3270,7 +3270,7 @@ get_graphics_glx_data()
# /opengl version/ && ( f || $2 !~ /mesa/ ) {
/opengl version/ {
# fglrx started appearing with this extra string, does not appear to communicate anything of value
sub(/Compatibility Profile Context/, "", $2 )
sub(/Compatibility Profile Context/, "- CPC", $2 )
gsub(/ [ \t]+/, " ", $2) # get rid of the created white spaces
gsub(/^ +| +$/, "", $2)
$2 && b[$2]