diff options
author | jnats <dev@jnats.xyz> | 2021-04-24 13:34:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 13:34:08 +0100 |
commit | ca6762ce5760107e8e4530f26b42c12906aa8530 (patch) | |
tree | fc89d15b6936908773d59a068672a1f1b4b0668d /nofetch | |
parent | 050f4069aad43e44513aaa95ec119743f3ecd38f (diff) | |
download | nofetch-ca6762ce5760107e8e4530f26b42c12906aa8530.tar.gz nofetch-ca6762ce5760107e8e4530f26b42c12906aa8530.tar.bz2 |
Update nofetch
Diffstat (limited to '')
-rwxr-xr-x | nofetch | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -54,9 +54,13 @@ else nofetch="something has gone terribly wrong" fi +# exceptions to the standard if [ $(uname -s) == "Darwin" ] then osname="macOS/" +elif [ $(uname -s) == "FreeBSD" ] +then + osname="" else osname=$(cat /etc/os-release | grep -w NAME | head -1 | sed "s/NAME=//g" | sed "s/\"//g")" " fi |