From ee5f4eb925cc937bf036df7a62be4d3feabb81ea Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 24 Aug 2025 18:08:17 +0200 Subject: [PATCH] I think these are the last spots --- migrations/1753468218.sh | 8 ++++++-- migrations/1754515289.sh | 7 ++++++- migrations/1755865046.sh | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/migrations/1753468218.sh b/migrations/1753468218.sh index bf2fab82..0b87330c 100644 --- a/migrations/1753468218.sh +++ b/migrations/1753468218.sh @@ -1,4 +1,8 @@ echo "Add Terminal Text Effects for rizzing Omarchy" -if ! yay -Qe python-terminaltexteffects &>/dev/null; then - yay -S --noconfirm --needed python-terminaltexteffects +if omarchy-pkg-aur-accessible; then + if ! yay -Q python-terminaltexteffects &>/dev/null; then + yay -S --noconfirm --needed python-terminaltexteffects + fi +else + echo -e "\n\e[31mAUR is unavailable. Install python-terminaltexteffects via AUR manually later.\e[0m" fi diff --git a/migrations/1754515289.sh b/migrations/1754515289.sh index 9d1d3986..671a6134 100644 --- a/migrations/1754515289.sh +++ b/migrations/1754515289.sh @@ -1,4 +1,9 @@ echo "Update and restart Walker to resolve stuck Omarchy menu" -yay -Sy --noconfirm walker-bin +if omarchy-pkg-aur-accessible; then + yay -Sy --noconfirm walker-bin +else + echo -e "\n\e[31mAUR is unavailable. Update walker-bin via AUR manually later.\e[0m" +fi + omarchy-restart-walker diff --git a/migrations/1755865046.sh b/migrations/1755865046.sh index 1f9385d5..b07766a5 100644 --- a/migrations/1755865046.sh +++ b/migrations/1755865046.sh @@ -1,6 +1,6 @@ echo "Switch from lazydocker-bin to lazydocker official" -if yay -Q lazydocker-bin >/dev/null; then +if pacman -Q lazydocker-bin >/dev/null; then sudo pacman -Rns --noconfirm lazydocker-bin sudo pacman -S --noconfirm lazydocker fi