bsd fixes

This commit is contained in:
inxi-svn 2014-05-01 22:48:48 +00:00
parent 2b4ae02f10
commit a82db68330

3
inxi
View file

@ -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 '<string>' | sed -E 's/<[\/]?string>//g' )
distro=$( echo $distro )
else
fi
if [[ -z $distro ]];then
distro='Mac OS X'
fi
fi