Commit 1d03fa2e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Run rewrite-hooks after repos restore

parent d2c70b89
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment