Project

General

Profile

« Previous | Next » 

Revision 7e2880b6

Added by Ruediger Mueck over 10 years ago

fixes #1489 - add AIX family and facts importer support

View differences:

app/services/facts_parser.rb
when /sid/i
orel = "99"
end
elsif os_name[/AIX/i]
majoraix, tlaix, spaix, yearaix = orel.split("-")
orel = majoraix + "." + tlaix + spaix
end
major, minor = orel.split(".")
major.to_s.gsub!(/\D/,'') unless is_numeric? major

Also available in: Unified diff