mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +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/*bsd*/} || -z ${BSD_VERSION/*darwin*/} ]];then
|
||||||
if [[ -z ${BSD_VERSION/*openbsd*/} ]];then
|
if [[ -z ${BSD_VERSION/*openbsd*/} ]];then
|
||||||
BSD_VERSION='openbsd'
|
BSD_VERSION='openbsd'
|
||||||
fi
|
elif [[ -z ${BSD_VERSION/*darwin*/} ]];then
|
||||||
if [[ -z ${BSD_VERSION/*darwin*/} ]];then
|
|
||||||
BSD_VERSION='darwin'
|
BSD_VERSION='darwin'
|
||||||
fi
|
fi
|
||||||
# GNU/kfreebsd will by definition have GNU tools like sed/grep
|
# GNU/kfreebsd will by definition have GNU tools like sed/grep
|
||||||
|
|
Loading…
Reference in a new issue