From 2537a0b24cac9206f282a071ba5e930aabfc3135 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 19 Jul 2013 14:11:49 +0200 Subject: Remove empty post-receive hook --- lib/gitlab_projects.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/gitlab_projects.rb') diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index c933296..242384b 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -182,9 +182,6 @@ class GitlabProjects private def create_hooks_to(dest_path) - pr_hook_path = File.join(ROOT_PATH, 'hooks', 'post-receive') - up_hook_path = File.join(ROOT_PATH, 'hooks', 'update') - - "ln -s #{pr_hook_path} #{dest_path}/hooks/post-receive && ln -s #{up_hook_path} #{dest_path}/hooks/update" + "ln -s #{File.join(ROOT_PATH, 'hooks', 'update')} #{dest_path}/hooks/update" end end -- cgit v1.2.1