Fix wildcarded BSD detection
This commit is contained in:
parent
bf3b1c1e2e
commit
55a907b454
1 changed files with 2 additions and 2 deletions
2
neofetch
2
neofetch
|
@ -451,7 +451,7 @@ case "$(uname -sm)" in
|
|||
"Linux"*) os="Linux" ;;
|
||||
"Darwin"*) os="Mac OS X" ;;
|
||||
"OpenBSD"*) os="OpenBSD" ;;
|
||||
*"BSD"*) os="BSD" ;;
|
||||
"FreeBSD"* | "NetBSD"*) os="BSD" ;;
|
||||
"CYGWIN"*) os="Windows" ;;
|
||||
*"iPhone"* | *"iPad"* | *"iPod"*) os="iOS" ;;
|
||||
*) printf "%s\n" "Unknown OS detected: $(uname)"; exit 1 ;;
|
||||
|
|
Loading…
Reference in a new issue