Commit 3e89244e authored by Mitch Tishmack's avatar Mitch Tishmack

Update info.rake to be able to run successfully on SuSE.

parent fb470e8e
...@@ -12,6 +12,9 @@ namespace :gitlab do ...@@ -12,6 +12,9 @@ namespace :gitlab do
debian_version = File.read('/etc/debian_version') debian_version = File.read('/etc/debian_version')
"Debian #{debian_version}" "Debian #{debian_version}"
end end
os_name ||= if File.readable?('/etc/SuSE-release')
File.read('/etc/SuSE-release')
end
os_name.squish! os_name.squish!
# check if there is an RVM environment # 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