1
0
Fork 0

topgrade: gate neovim tarball updater to debian family only

update-neovim.sh and the topgrade [commands] entry that calls it are
only meaningful where neovim is not a distro package. On arch-family
boxes the template renders empty, so chezmoi removes the script
instead of deploying a no-op, and topgrade no longer runs a step that
could fail on unmanaged paths.
This commit is contained in:
Rain 2026-08-27 21:58:38 -04:00
parent 77ae70468b
commit bfa49d6546
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,4 @@
{{- if eq .os_family "debian" }}
#!/usr/bin/env bash
# =============================================================================
# update-neovim.sh — chezmoi-managed, deployed to ~/.local/bin/update-neovim.sh
@ -65,4 +66,5 @@ sudo tar -xzf "$TMP_TARBALL" -C /opt/
sudo ln -sf "/opt/${NVIM_EXTRACT_DIR}/bin/nvim" /usr/local/bin/nvim
echo "neovim $NVIM_TARGET_VERSION installed"
nvim --version | head -1
nvim --version | head -1
{{- end }}