distro: [haiku] Use read instead of awk
This commit is contained in:
parent
320ad76b21
commit
e12927aa17
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -977,7 +977,8 @@ get_distro() {
|
|||
;;
|
||||
|
||||
"Haiku")
|
||||
distro="$(uname -sv | awk '{print $1 " " $2}')"
|
||||
read -r name version _ < <(uname -sv)
|
||||
distro="$name $version"
|
||||
;;
|
||||
|
||||
"AIX")
|
||||
|
|
Loading…
Reference in a new issue