pfetch: correctly display OS version of FreeBSD
This commit is contained in:
parent
9886d75967
commit
2ac2cf856a
1 changed files with 4 additions and 0 deletions
4
pfetch
4
pfetch
|
@ -290,6 +290,10 @@ get_os() {
|
|||
distro="$distro $openbsd_ver"
|
||||
;;
|
||||
|
||||
FreeBSD)
|
||||
distro="$os $(freebsd-version)"
|
||||
;;
|
||||
|
||||
(*)
|
||||
# Catch all to ensure '$distro' is never blank.
|
||||
# This also handles the BSDs.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue