Merge pull request #79 from cyrilst/master

pfetch: correctly display OS version of FreeBSD
This commit is contained in:
dylan 2020-11-16 18:32:38 +02:00 committed by GitHub
commit 7e684b608a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
pfetch
View File

@ -367,6 +367,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.