Skip to content

Instantly share code, notes, and snippets.

Created Nov 6, 2013

What would you like to do?
if [ -d /Library/Internet\ Plug-Ins/Flash\ Player.plugin ]; then
FlashPluginVersion=`/usr/bin/defaults read /Library/Internet\ Plug-Ins/Flash\ Player.plugin/Contents/Info CFBundleVersion`
echo "<result>$FlashPluginVersion</result>"
echo "<result>Not found</result>"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.