From ffab8e2f751010203f35308d4a6ae6fa07bb6e6e Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 7 May 2016 20:33:00 +1000 Subject: [PATCH] Move iOS detection to the top of the block --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 027672f2..5560fb55 100755 --- a/neofetch +++ b/neofetch @@ -449,11 +449,11 @@ shopt -s nocasematch extglob case "$(uname -sm)" in "Linux"*) os="Linux" ;; + *"iPhone"* | *"iPad"* | *"iPod"*) os="iOS" ;; "Darwin"*) os="Mac OS X" ;; "OpenBSD"*) os="OpenBSD" ;; "FreeBSD"* | "NetBSD"*) os="BSD" ;; "CYGWIN"*) os="Windows" ;; - *"iPhone"* | *"iPad"* | *"iPod"*) os="iOS" ;; *) printf "%s\n" "Unknown OS detected: $(uname)"; exit 1 ;; esac