From f3bd444b32255541ce318448e1acbae530632980 Mon Sep 17 00:00:00 2001 From: dylan araps Date: Tue, 5 Jan 2016 16:33:31 +1100 Subject: [PATCH] Fix hang on Windows --- fetch.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fetch.sh b/fetch.sh index 03d3a6b6..340ce36d 100755 --- a/fetch.sh +++ b/fetch.sh @@ -244,12 +244,7 @@ getdistro () { ;; "Windows") - # TODO: Detect XP/7 - if [ "$(wmic os get version | grep -o '^10')" ]; then - distro="Windows 10" - else - distro="Windows" - fi + distro="Windows" ;; *)