walt wrote:
if m = /^(((\d+)(?:\.\d+)+)-(\w+)(-\S+)?) (\w+)$/.match(uname)
^^^^^^^^^^^^^^^^^^
I guess it chokes on the A in 1.0A. I don't know ruby but this looks
(and the naming of the variables suggests it) as if it wants to read two
numbers seperated by a dot as a version number.
Regards,
Sascha
--
http://yoyodyne.ath.cx