Skip to content

Commit

Permalink
fix(main/neovim): make build idempotent
Browse files Browse the repository at this point in the history
This allows the package to be built twice with the same /data
directory.
  • Loading branch information
Pip Cet committed Nov 20, 2024
1 parent 481e2ab commit 2c9bb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/neovim/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ termux_step_post_make_install() {
cp $TERMUX_PKG_BUILDER_DIR/sysinit.vim $_CONFIG_DIR/

# Tree-sitter grammars are packaged separately and installed into TERMUX_PREFIX/lib/tree_sitter.
ln -s "${TERMUX_PREFIX}"/lib/tree_sitter "${TERMUX_PREFIX}"/share/nvim/runtime/parser
ln -sf "${TERMUX_PREFIX}"/lib/tree_sitter "${TERMUX_PREFIX}"/share/nvim/runtime/parser
}

termux_step_create_debscripts() {
Expand Down

0 comments on commit 2c9bb71

Please sign in to comment.