os: Fix HAIKU issues
This commit is contained in:
parent
de99d9b0e4
commit
bbc492aac1
2
neofetch
2
neofetch
|
@ -1190,7 +1190,7 @@ get_kernel() {
|
||||||
[[ "$os" =~ (AIX|IRIX) ]] && return
|
[[ "$os" =~ (AIX|IRIX) ]] && return
|
||||||
|
|
||||||
# Haiku uses 'uname -v' and not - 'uname -r'.
|
# Haiku uses 'uname -v' and not - 'uname -r'.
|
||||||
[[ "$os" == HAIKU ]] && {
|
[[ "$os" == Haiku ]] && {
|
||||||
kernel=$(uname -v)
|
kernel=$(uname -v)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue