diff options
Diffstat (limited to 'init.d')
-rwxr-xr-x | init.d/40git-ignore | 2 | ||||
-rwxr-xr-x | init.d/40git-pre-commit-hook | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/init.d/40git-ignore b/init.d/40git-ignore index 846c32d..f99f396 100755 --- a/init.d/40git-ignore +++ b/init.d/40git-ignore @@ -1,7 +1,7 @@ #!/bin/sh set -e if [ ! -e .gitignore ]; then - cat <<EOF >.gitignore + cat >.gitignore <<EOF *~ # new and old versions of conffiles, stored by dpkg 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. |