pfetch: correctly display OS version of FreeBSD
This commit is contained in:
parent
9886d75967
commit
2ac2cf856a
4
pfetch
4
pfetch
|
@ -290,6 +290,10 @@ get_os() {
|
||||||
distro="$distro $openbsd_ver"
|
distro="$distro $openbsd_ver"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
FreeBSD)
|
||||||
|
distro="$os $(freebsd-version)"
|
||||||
|
;;
|
||||||
|
|
||||||
(*)
|
(*)
|
||||||
# Catch all to ensure '$distro' is never blank.
|
# Catch all to ensure '$distro' is never blank.
|
||||||
# This also handles the BSDs.
|
# This also handles the BSDs.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user