Solaris: Strip out crap from getdistro output
This commit is contained in:
parent
d39bebb2a4
commit
24e7216777
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -233,6 +233,7 @@ getdistro() {
|
|||
"on" | "tiny") distro="$(awk 'NR==1{print $1 " " $2;}' /etc/release)" ;;
|
||||
*) distro="$(awk 'NR==1{print $1 " " $2 " " $3;}' /etc/release)" ;;
|
||||
esac
|
||||
distro="${distro/\(*}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in a new issue