git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/gitlab: fix preStart script
commit00c03e90038a4935da17fa0d5f5ca9d08fc19676 authorMárton Boros <martonboros@gmail.com> dateMon 23 Oct 2017, 23:48 (9 years ago) parent29e80bd
1 file changed+1−1
nixos/modules/services/misc/gitlab.nix+1−1
nixos/modules/services/misc/gitlab.nix+1−1
@@ -634,7 +634,7 @@ in {
634634
635635 # The gitlab:shell:create_hooks task seems broken for fixing links
636636 # so we instead delete all the hooks and create them anew
637− rm ${cfg.statePath}/repositories/**/*.git/hooks
637+ rm -f ${cfg.statePath}/repositories/**/*.git/hooks
638638 ${gitlab-rake}/bin/gitlab-rake gitlab:shell:create_hooks RAILS_ENV=production
639639
640640 # Change permissions in the last step because some of the