mirror of
https://github.com/munki/munki.git
synced 2026-01-13 18:41:56 -06:00
Instead of stripping x parts off the tuple, simply trim all lone trailing 0's from the version.
Examples:
10.0.0.0 -> 10.0
10.0.0.1 -> 10.0.0.1
10.0.0.1.0.0 -> 10.0.0.1
10.0.0-abc1 -> 10.0.0-abc1
10.0.0-abc1.0 -> 10.0.0-abc1
git-svn-id: http://munki.googlecode.com/svn/trunk@793 a4e17f2e-e282-11dd-95e1-755cbddbdd66