summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxilleas Pipinellis <axilleas@archlinux.gr>2013-02-20 17:36:09 +0200
committerAxilleas Pipinellis <axilleas@archlinux.gr>2013-02-20 17:36:09 +0200
commita3bbc5956bdecc39846ede219fa27b3311e2192b (patch)
tree2820a8b80a59d8f8219daeb622f7878a40e46f4c
parentba1a453ef3dddf50a2c118f4490267b19a0b2cc8 (diff)
downloadgitlab-ce-a3bbc5956bdecc39846ede219fa27b3311e2192b.tar.gz
We don't need to check .profile now that gitolite is replaced by gitlab-shell
-rw-r--r--lib/tasks/gitlab/check.rake25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake
index 6a138396087..1384231feef 100644
--- a/lib/tasks/gitlab/check.rake
+++ b/lib/tasks/gitlab/check.rake
@@ -255,7 +255,6 @@ namespace :gitlab do
warn_user_is_not_gitlab
start_checking "Environment"
- check_issue_1059_shell_profile_error
check_gitlab_git_config
check_python2_exists
check_python2_version
@@ -294,30 +293,6 @@ namespace :gitlab do
end
end
- # see https://github.com/gitlabhq/gitlabhq/issues/1059
- def check_issue_1059_shell_profile_error
- gitlab_shell_ssh_user = Gitlab.config.gitlab_shell.ssh_user
- print "Has no \"-e\" in ~#{gitlab_shell_ssh_user}/.profile ... "
-
- profile_file = File.join(gitlab_shell_user_home, ".profile")
-
- unless File.read(profile_file) =~ /^-e PATH/
- puts "yes".green
- else
- puts "no".red
- try_fixing_it(
- "Open #{profile_file}",
- "Find the line starting with \"-e PATH\"",
- "Remove \"-e \" so the line starts with PATH"
- )
- for_more_information(
- see_installation_guide_section("Gitlab Shell"),
- "https://github.com/gitlabhq/gitlabhq/issues/1059"
- )
- fix_and_rerun
- end
- end
-
def check_python2_exists
print "Has python2? ... "