OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb470e8
)
Update info.rake to be able to run successfully on SuSE.
author
Mitch Tishmack
<mitch.tishmack@gmail.com>
Mon, 7 Jan 2013 17:07:11 +0000
(11:07 -0600)
committer
Mitch Tishmack
<mitch.tishmack@gmail.com>
Mon, 7 Jan 2013 17:21:35 +0000
(11:21 -0600)
lib/tasks/gitlab/info.rake
patch
|
blob
|
history
diff --git
a/lib/tasks/gitlab/info.rake
b/lib/tasks/gitlab/info.rake
index
3fbedda
..
fcd5901
100644
(file)
--- a/
lib/tasks/gitlab/info.rake
+++ b/
lib/tasks/gitlab/info.rake
@@
-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