Skip to content
Snippets Groups Projects
Commit 0a160399 authored by Riyad Preukschas's avatar Riyad Preukschas
Browse files

Merge pull request #2504 from mitchty/sles_changes

Update info.rake to be able to run successfully on SuSE.
parents 9be4c555 3e89244e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment