bsd cleanup

This commit is contained in:
inxi-svn 2014-05-01 23:25:05 +00:00
parent c11ab3fca1
commit 976cb2998a

3
inxi
View file

@ -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