git_infra

Git infra scripts for git.bracken.jp
git clone https://git.bracken.jp/git_infra.git
Log | Files | Refs | LICENSE

commit 1f06230e8f70dbc8d4b24666e2bf11921fcbd01a
parent 47931d4de1736f4245bd35191e6021ed93175812
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 16 Aug 2026 21:42:59 +0900

Only install gout_html

Diffstat:
Mgrm | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/grm b/grm @@ -153,8 +153,8 @@ ${BLUE}enter index [default: ${GREEN}1${BLUE}]${RESET}" echo "installing gout post-receive hook..." ln -sf "$GRM_POSTRECV_HOOK" "$repo_path/hooks/post-receive" mkdir -p "$repo_path/hooks/post-receive.d" - for hook in "$(ls "$GRM_POSTRECV_HOOKS_DIR")"; do - ln -sf "$GRM_POSTRECV_HOOKS_DIR/$hook" "$repo_path/hooks/post-receive.d/$hook" + ln -sf "$GRM_POSTRECV_HOOKS_DIR/gout_html" \ + "$repo_path/hooks/post-receive.d/gout_html" done echo "done!"