Skip to content
Snippets Groups Projects
Commit 1d03fa2e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Run rewrite-hooks after repos restore

parent d2c70b89
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -68,6 +68,15 @@ module Backup
end
end
end
print 'Put GitLab hooks in repositories dirs'.yellow
gitlab_shell_user_home = File.expand_path("~#{Gitlab.config.gitlab_shell.ssh_user}")
if system("#{gitlab_shell_user_home}/gitlab-shell/support/rewrite-hooks.sh")
puts " [DONE]".green
else
puts " [FAILED]".red
end
end
 
protected
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment