mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/gitlab: fix preStart script
This commit is contained in:
parent
29e80bde40
commit
00c03e9003
1 changed files with 1 additions and 1 deletions
|
@ -634,7 +634,7 @@ in {
|
|||
|
||||
# The gitlab:shell:create_hooks task seems broken for fixing links
|
||||
# so we instead delete all the hooks and create them anew
|
||||
rm ${cfg.statePath}/repositories/**/*.git/hooks
|
||||
rm -f ${cfg.statePath}/repositories/**/*.git/hooks
|
||||
${gitlab-rake}/bin/gitlab-rake gitlab:shell:create_hooks RAILS_ENV=production
|
||||
|
||||
# Change permissions in the last step because some of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue