Commit 0a160399 authored by Riyad Preukschas's avatar Riyad Preukschas

Merge pull request #2504 from mitchty/sles_changes

Update info.rake to be able to run successfully on SuSE.
parents 9be4c555 3e89244e
......@@ -12,6 +12,9 @@ namespace :gitlab do
debian_version = File.read('/etc/debian_version')
"Debian #{debian_version}"
end
os_name ||= if File.readable?('/etc/SuSE-release')
File.read('/etc/SuSE-release')
end
os_name.squish!
# check if there is an RVM environment
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment