Fix wildcarded BSD detection
This commit is contained in:
parent
bf3b1c1e2e
commit
55a907b454
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -451,9 +451,9 @@ 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" ;;
|
||||
*"iPhone"* | *"iPad"* | *"iPod"*) os="iOS" ;;
|
||||
*) printf "%s\n" "Unknown OS detected: $(uname)"; exit 1 ;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue