chore: update install script for post-merge hook path
This commit is contained in:
@ -44,10 +44,10 @@ if ! grep -Fxq "Include ~/.config/ssh/*" "$HOME/.ssh/config" 2>/dev/null; then
|
|||||||
echo "Include ~/.config/ssh/*" >> "$HOME/.ssh/config"
|
echo "Include ~/.config/ssh/*" >> "$HOME/.ssh/config"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$DOTFILES_INSTALL_DIR/.git/hooks/post-merge" ]; then
|
if [ -f "./.git/hooks/post-merge" ]; then
|
||||||
rm "$DOTFILES_INSTALL_DIR/.git/hooks/post-merge"
|
rm "./.git/hooks/post-merge"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ln -s $DOTFILES_INSTALL_DIR/scripts/post-merge .git/hooks/post-merge
|
ln -s ./scripts/post-merge .git/hooks/post-merge
|
||||||
|
|
||||||
./scripts/setup
|
./scripts/setup
|
||||||
|
Reference in New Issue
Block a user