jtimberman/xquartz-cookbook — pull request #1 by fnichol (2012-08-12 01:28:16+00:00)
Title: Use package_id to ensure idempotency of pkg install.

Looks like `XQuartz.app` gets installed to `/Applications/Utilities/XQuartz.app` so the **dmg** provider fails to guard against subsequent installations. Two easy wins would be to:

* set the **destination** attribute to `"/Applications/Utilities"`
* set the **package_id** attribute to `"org.macosforge.xquartz.pkg"`

I went with the latter, but the former is just as valid.

Thanks for this cookbook!