aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyrilst <cyril.servant@gmail.com>2020-10-25 19:10:15 +0100
committercyrilst <cyril.servant@gmail.com>2020-11-02 12:26:28 +0100
commit2ac2cf856a6695a1fc07075053e9074d25240158 (patch)
treed0fa28651443c8ef7bc797bb26dc0482029458fb
parent9886d759675a3bf31e86e9f3b998141cb1f0ae25 (diff)
downloadpfetch-2ac2cf856a6695a1fc07075053e9074d25240158.tar.gz
pfetch: correctly display OS version of FreeBSD
-rwxr-xr-xpfetch4
1 files changed, 4 insertions, 0 deletions
diff --git a/pfetch b/pfetch
index 4e22558..5a140d6 100755
--- a/pfetch
+++ b/pfetch
@@ -290,6 +290,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.