From d3ccfdfc7937d22972a559d7bf88527e2eb081ef Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Mon, 7 Jul 2025 16:11:51 +0200 Subject: [PATCH] chore: update install script for post-merge hook path --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 7085f08..57edeb5 100755 --- a/scripts/install +++ b/scripts/install @@ -44,10 +44,10 @@ if ! grep -Fxq "Include ~/.config/ssh/*" "$HOME/.ssh/config" 2>/dev/null; then echo "Include ~/.config/ssh/*" >> "$HOME/.ssh/config" fi -if [ -f "$DOTFILES_INSTALL_DIR/.git/hooks/post-merge" ]; then - rm "$DOTFILES_INSTALL_DIR/.git/hooks/post-merge" +if [ -f "./.git/hooks/post-merge" ]; then + rm "./.git/hooks/post-merge" fi -ln -s $DOTFILES_INSTALL_DIR/scripts/post-merge .git/hooks/post-merge +ln -s ./scripts/post-merge .git/hooks/post-merge ./scripts/setup