From 976cb2998af1c43c66c0ec69d43167cfe56a86d7 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 1 May 2014 23:25:05 +0000 Subject: [PATCH] bsd cleanup --- inxi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inxi b/inxi index 17aca4e..835b928 100755 --- a/inxi +++ b/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