diff options
author | Ray Strode <rstrode@redhat.com> | 2016-12-07 19:23:10 +0000 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2016-12-07 19:23:10 +0000 |
commit | a31858c339d0c41273fc078f89d81fdcdfbcc807 (patch) | |
tree | 00ed623e98a34b483737f3fe0f7724e36fb52e4e | |
parent | c4c213ee760b4249612e4c12dd0925d5c716cb39 (diff) |
new-git-repo.sh: mv update script to final name
it has the .sample extension by default these days.
-rwxr-xr-x | new-git-repo.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/new-git-repo.sh b/new-git-repo.sh index 3a7a026..346c6df 100755 --- a/new-git-repo.sh +++ b/new-git-repo.sh @@ -10,6 +10,7 @@ GIT_DIR="$1" git init-db --shared chgrp -R $2 "$1" echo "$3" > "$1"/description touch "$1"/git-daemon-export-ok +mv "$1"/hooks/update.sample "$1"/hooks/update chmod +x "$1"/hooks/update bin/set-up-post-receive-hooks.sh "$1" |