Fix bug
This commit is contained in:
parent
2abdbfc2bc
commit
805b7d2e84
2
neofetch
2
neofetch
|
@ -194,7 +194,7 @@ getdistro() {
|
||||||
"tiny")
|
"tiny")
|
||||||
case "$osx_version" in
|
case "$osx_version" in
|
||||||
"10."[4-7]*) distro="${distro/${codename}/Mac OS X}" ;;
|
"10."[4-7]*) distro="${distro/${codename}/Mac OS X}" ;;
|
||||||
"10."[8-11]*) distro="${distro/${codename}/OS X}" ;;
|
"10."[8-9]* | "10.1"[0-1]*) distro="${distro/${codename}/OS X}" ;;
|
||||||
"10.12"*) distro="${distro/${codename}/macOS}" ;;
|
"10.12"*) distro="${distro/${codename}/macOS}" ;;
|
||||||
esac
|
esac
|
||||||
distro="${distro/ ${osx_build}}"
|
distro="${distro/ ${osx_build}}"
|
||||||
|
|
Reference in New Issue