diff options
author | jnats <jnats@salyut.one> | 2021-05-19 13:53:17 +0100 |
---|---|---|
committer | jnats <jnats@salyut.one> | 2021-05-19 13:53:17 +0100 |
commit | ce81ad7b7dfb7a4c066348ee34189bc1fd788ef1 (patch) | |
tree | 617e9b91af9e056e18996c3df7effa198bae1459 /nofetch | |
parent | 7c048f4d6ff8390a020249d5f22259cf5fae9233 (diff) | |
download | nofetch-ce81ad7b7dfb7a4c066348ee34189bc1fd788ef1.tar.gz nofetch-ce81ad7b7dfb7a4c066348ee34189bc1fd788ef1.tar.bz2 |
fixed output on *bsd systems
Diffstat (limited to 'nofetch')
-rwxr-xr-x | nofetch | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -72,6 +72,12 @@ osname=$(echo $osname | sed 's/FreeBSD //g') if [ $1 == "-o" ] &> /dev/null || [ $2 == "-o" ] &> /dev/null then echo "$osname" +elif [[ "$osname" == *"BSD"* ]] +then + echo " " + echo "> $nofetch" | tr '[:upper:]' '[:lower:]' + echo "> $(uname -smr)" | tr '[:upper:]' '[:lower:]' + echo " " else echo " " echo "> $nofetch" | tr '[:upper:]' '[:lower:]' |