From a82db683302c38a29a8ed23196755691acd44959 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 1 May 2014 22:48:48 +0000 Subject: [PATCH] bsd fixes --- inxi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index ab0aada..aca951f 100755 --- a/inxi +++ b/inxi @@ -4578,7 +4578,8 @@ get_distro_data() if [[ -f /System/Library/CoreServices/SystemVersion.plist ]];then distro=$( grep -A1 -E '(ProductName|ProductVersion)' /System/Library/CoreServices/SystemVersion.plist | grep '' | sed -E 's/<[\/]?string>//g' ) distro=$( echo $distro ) - else + fi + if [[ -z $distro ]];then distro='Mac OS X' fi fi