opscode-cookbooks/dmg — pull request #6 by trinitronx (2013-07-10 06:40:32+00:00)
Title: [COOK-3302] Fix hdiutil detach failure due to cfprefsd

- Try to set __CFPREFERENCES_AVOID_DAEMON=1 if on Mountain Lion or
greater to avoid cfprefsd launch (doesn't seem to obey all the time)
- Force unmount dmg if detach fails the first time