opscode/chef — pull request #364 by jtimberman (2012-08-13 05:56:59+00:00)
Title: [CHEF-3360] - split version string

Splitting the version string and returning the first element ensures
that a version in ()'s is not passed to the pkg command, which would
otherwise cause a shell error.