Merge pull request #2504 from mitchty/sles_changes
Update info.rake to be able to run successfully on SuSE.
This commit is contained in:
commit
0a16039924
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue