ok, last fix, made pattern looser, now () around x86_64, i686, etc, are optional in search.

Last, I think, tarball, and this is it.
This commit is contained in:
inxi-svn 2012-11-17 23:26:06 +00:00
parent d519d13c02
commit b668b4c4f3

2
inxi
View file

@ -3718,7 +3718,7 @@ get_distro_data()
IGNORECASE=1
}
{
sub(/ *\((x86_64|i486|i586|i686|686|586|486)\)/, "", $0)
sub(/ *\(*(x86_64|i486|i586|i686|686|586|486)\)*/, "", $0)
print $0
}' <<< $distro )
echo "$distro"