diff options
Diffstat (limited to 'init.d/40git-pre-commit-hook')
| -rwxr-xr-x | init.d/40git-pre-commit-hook | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/40git-pre-commit-hook b/init.d/40git-pre-commit-hook index f1609eb..2b23dc0 100755 --- a/init.d/40git-pre-commit-hook +++ b/init.d/40git-pre-commit-hook @@ -5,7 +5,7 @@ if [ -x .git/hooks/pre-commit ]; then echo "etckeeper warning: .git/hooks/pre-commit needs to be manually modifed to run etckeeper-pre-commit" >&2 fi else - echo <<EOF >>.git/hooks/pre-commit + cat >.git/hooks/pre-commit <<EOF #!/bin/sh # pre-commit hook for etckeeper. Calls etckeeper-pre-commit to store metadata # and do sanity checks. |
