From b668b4c4f3dc8d17292966ecfc0076aec99a94fb Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 17 Nov 2012 23:26:06 +0000 Subject: [PATCH] ok, last fix, made pattern looser, now () around x86_64, i686, etc, are optional in search. Last, I think, tarball, and this is it. --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index 5c46e0b..29a1f05 100755 --- a/inxi +++ b/inxi @@ -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"