From cec40577bfe0cbb094ef9ef5b15d9291398413e7 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 1 Feb 2016 08:42:12 +1100 Subject: [PATCH] Fix leftover 'OSArchitecture' string --- fetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fetch b/fetch index 10a475b1..36187426 100755 --- a/fetch +++ b/fetch @@ -411,7 +411,8 @@ case "$os" in distro+=" $(wmic os get OSArchitecture /value)" # Strip crap from the output of wmic - distro=${distro//Caption'='} + distro=${distro/Caption'='} + distro=${distro/OSArchitecture'='} distro=${distro//[[:space:]]/ } distro=${distro// } distro=${distro/Microsoft }