I need an extension attribute to show me if version 4.1.2 of Mcafee Native Encryption is installed. I created this script, but when it is run in the JSS even if 4.1.2 is installed, it still shows the result of Not Latest
!/bin/sh
McAfeeMNEversion='/usr/local/mcafee/mne/bin/MNEMacTool -v'
if [[ $McAfeeMNEversion == "McAfee Management for Native Encryption Version: 4.1.2" ]]; then
echo "<result>4.1.2</result>"
else
echo "<result>Not Latest</result>"
fi