summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorp4bl0 <r@uzy.me>2011-07-14 10:55:59 +0200
committerp4bl0 <r@uzy.me>2011-07-14 10:55:59 +0200
commit7f09b18e49bb1d03e74bf72d3f3faf4cd2b2d85d (patch)
tree8ce1d86dd0e95c2aec5230bcc7dc9791cea6e1e3 /install.sh
parent5bee51b29ef94310afa4dceb5ea432dfc2888d2a (diff)
rewrite instead of append for pre- hooks
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index e93466b..5b14f72 100644
--- a/install.sh
+++ b/install.sh
@@ -12,10 +12,10 @@ fugitive_write_template() {
fugitive_install_hooks() {
echo -n "Installing fugitive hooks scripts... "
- (base64 -d | gunzip) >> .git/hooks/pre-commit <<EOF
+ (base64 -d | gunzip) > .git/hooks/pre-commit <<EOF
#INCLUDE:pre-commit.sh#
EOF
- (base64 -d | gunzip) >> .git/hooks/pre-receive <<EOF
+ (base64 -d | gunzip) > .git/hooks/pre-receive <<EOF
#INCLUDE:pre-receive.sh#
EOF
(base64 -d | gunzip) > .git/hooks/post-commit <<EOF