diff options
author | jnats <jnats@salyut.one> | 2021-05-12 23:37:47 +0100 |
---|---|---|
committer | jnats <jnats@salyut.one> | 2021-05-12 23:37:47 +0100 |
commit | 9b95245de6c2c65c350db3cc43879d88498b1959 (patch) | |
tree | d0584c04dd2535ece7c04327bd4dab25b501008f | |
parent | d27de71911c7891e36bb2bc4df48df16b22a162c (diff) | |
download | nofetch-9b95245de6c2c65c350db3cc43879d88498b1959.tar.gz nofetch-9b95245de6c2c65c350db3cc43879d88498b1959.tar.bz2 |
Update nofetch
-rwxr-xr-x | nofetch | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -16,8 +16,7 @@ uname -o &> /dev/null if [ $? -eq 0 ] then osname=$(uname -o) -fi -if [ $(uname -s) == "Darwin" ] +elif [ $(uname -s) == "Darwin" ] then osname=$(sw_vers | cut -d':' -f2- | head -n 1 | xargs) elif [ -f /etc/os-release ] |