elsif File.exist? "/etc/redhat-release" then
os = "redhat-unknown"
elsif File.exist? "/etc/SuSE-release" then
- os = "opensuse-unknown"
+ arch = (`uname -i`.strip == "x86_64") ? "64" : "32"
+ os = "opensuse-#{arch}"
elsif File.exist? "/etc/mandrake-release" then
os = "mandrake-unknown"
end
def Utils.get_all_OSs()
- return ["ubuntu-32","ubuntu-64","windows-32","windows-64","macos-64"]
+ return ["ubuntu-32","ubuntu-64","windows-32","windows-64","macos-64","opensuse-32", "opensuse-64"]
end