aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordylan <dylan.araps@gmail.com>2020-11-16 18:32:38 +0200
committerGitHub <noreply@github.com>2020-11-16 18:32:38 +0200
commit7e684b608a2ab765a5e7b6576776d9ba8f9b07ba (patch)
tree3fe0913f99f78a592665e240158c1021d3a488fd
parent2b61a0389d00dc867db0e4ed9ffd0533ff5a14b1 (diff)
parent2ac2cf856a6695a1fc07075053e9074d25240158 (diff)
downloadpfetch-7e684b608a2ab765a5e7b6576776d9ba8f9b07ba.tar.gz
Merge pull request #79 from cyrilst/master
pfetch: correctly display OS version of FreeBSD
-rwxr-xr-xpfetch4
1 files changed, 4 insertions, 0 deletions
diff --git a/pfetch b/pfetch
index 5111594..22e5d71 100755
--- a/pfetch
+++ b/pfetch
@@ -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.