mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
bsd cleanup
This commit is contained in:
parent
c11ab3fca1
commit
976cb2998a
3
inxi
3
inxi
|
@ -798,8 +798,7 @@ initialize_data()
|
|||
if [[ -z ${BSD_VERSION/*bsd*/} || -z ${BSD_VERSION/*darwin*/} ]];then
|
||||
if [[ -z ${BSD_VERSION/*openbsd*/} ]];then
|
||||
BSD_VERSION='openbsd'
|
||||
fi
|
||||
if [[ -z ${BSD_VERSION/*darwin*/} ]];then
|
||||
elif [[ -z ${BSD_VERSION/*darwin*/} ]];then
|
||||
BSD_VERSION='darwin'
|
||||
fi
|
||||
# GNU/kfreebsd will by definition have GNU tools like sed/grep
|
||||
|
|
Loading…
Reference in a new issue