Require the corrected Neovim package before clipboard migration

This commit is contained in:
Ryan Hughes committed 2026-09-25 15:35:10 -04:00
1 parent 905ff1f792
commit 289f36ab97
2 files changed
+8 -6

No files matched your search

+2 -2
View File
@@ -35,8 +35,8 @@ esac
# Updates install packages before migrations. Refuse an older package so this
# migration remains pending instead of installing the provider it must repair.
nvim_package=$(pacman -Q omarchy-nvim)
if [[ $(vercmp "${nvim_package#* }" "2026.8.13-2") == -* ]] || [[ ! -f $provider_source ]]; then
echo "Update omarchy-nvim to 2026.8.13-2 or newer before rerunning this migration." >&2
if [[ $(vercmp "${nvim_package#* }" "2026.9.21-2") == -* ]] || [[ ! -f $provider_source ]]; then
echo "Update omarchy-nvim to 2026.9.21-2 or newer before rerunning this migration." >&2
exit 1
fi