mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-01-02 16:02:12 +01:00
pfetch: correctly display OS version of FreeBSD
This commit is contained in:
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user