diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 16:58:25 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 16:58:25 -0500 |
commit | b0160eb5daf39f3258eb06e677bcc433c7425ca0 (patch) | |
tree | a9820bd23ab91d3e224f9a8898e0cbb931f206c7 | |
parent | 5d441f773d56b6b1a0a95c18ca6bb33e3e237dbe (diff) |
bugfixes
-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. |