mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-11-12 16:40:15 +00:00
pfetch: correctly display OS version of FreeBSD
This commit is contained in:
1 parent
9886d75967
commit
2ac2cf856a
1 file changed
+4
@@ -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