Move iOS detection to the top of the block
This commit is contained in:
parent
55a907b454
commit
ffab8e2f75
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue