Created
January 12, 2015 23:15
-
-
Save mrala/f77f6ef3c19119eea26d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version=$(/usr/bin/defaults read "/Applications/Microsoft Office 2011/Microsoft Word.app/Contents/Info" CFBundleShortVersionString) | |
if [ ${version:-0} \< 14.4.6 ]; then | |
echo "installed version is" $version", need to install" | |
exit 0 | |
else | |
echo "installed version is" $version", do not install" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment