I'm writing an EA that has the following line...
migrationStatus=`defaults read /Library/path/to/com.****.****.plist "Migration"`
If the plist or key isn't there, I get the following error message and $migrationStatus is set to nothing.
The domain/default pair of (/Library/path/to/com.****.****.plist, Migration) does not exist
I'm not a super scripter by any means. How can I handle this so that I can check against the file not existing or if the key is missing from the plist file?
