Merge pull request #79 from cyrilst/master
pfetch: correctly display OS version of FreeBSD
This commit is contained in:
commit
7e684b608a
4
pfetch
4
pfetch
|
@ -367,6 +367,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