diff options
| author | cyrilst <cyril.servant@gmail.com> | 2020-10-25 19:10:15 +0100 |
|---|---|---|
| committer | cyrilst <cyril.servant@gmail.com> | 2020-11-02 12:26:28 +0100 |
| commit | 2ac2cf856a6695a1fc07075053e9074d25240158 (patch) | |
| tree | d0fa28651443c8ef7bc797bb26dc0482029458fb | |
| parent | 9886d759675a3bf31e86e9f3b998141cb1f0ae25 (diff) | |
| download | pfetch-2ac2cf856a6695a1fc07075053e9074d25240158.tar.gz | |
pfetch: correctly display OS version of FreeBSD
| -rwxr-xr-x | pfetch | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |
