migration fixes

This commit is contained in:
2026-10-26 15:51:56 -06:00
parent 32ac3828cb
commit e771d305b1
4 changed files with 19 additions and 16 deletions
+9
View File
@@ -41,6 +41,15 @@ install_pipx_apps() {
return $status
}
# Reinstall gext if missing or broken. Its pipx venv goes stale when Arch
# upgrades Python, and migrations run before updates.d/60-pipx.sh rebuilds it.
ensure_gext() {
~/.local/bin/gext --version &> /dev/null && return 0
echo "gext missing or broken, reinstalling..."
pipx uninstall gnome-extensions-cli &> /dev/null || true
pipx install --python "$(which python3)" gnome-extensions-cli --system-site-packages
}
# Function to remove pacman/AUR packages if installed
remove_packages() {
local packages=("$@")