Commit 3e89244e08ed79564c0c483cb1f810936d661996

Authored by Mitch Tishmack
1 parent fb470e8e

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

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
lib/tasks/gitlab/info.rake
... ... @@ -12,6 +12,9 @@ namespace :gitlab do
12 12 debian_version = File.read('/etc/debian_version')
13 13 "Debian #{debian_version}"
14 14 end
  15 + os_name ||= if File.readable?('/etc/SuSE-release')
  16 + File.read('/etc/SuSE-release')
  17 + end
15 18 os_name.squish!
16 19  
17 20 # check if there is an RVM environment
... ...