diff --git a/migrations/1755455095.sh b/migrations/1755455095.sh index 8ea51652..3f6a6679 100644 --- a/migrations/1755455095.sh +++ b/migrations/1755455095.sh @@ -1,9 +1,13 @@ echo "Ensure TTE and dependencies are installed" -if ! yay -Q python-poetry-core &>/dev/null; then - yay -S --noconfirm python-poetry-core -fi +if omarchy-pkg-aur-accessible; then + if ! yay -Q python-poetry-core &>/dev/null; then + yay -S --noconfirm python-poetry-core + fi -if ! yay -Q python-terminaltexteffects &>/dev/null; then - yay -S --noconfirm python-terminaltexteffects + if ! yay -Q python-terminaltexteffects &>/dev/null; then + yay -S --noconfirm python-terminaltexteffects + fi +else + echo -e "\n\e[31mAUR is unavailable. Skipping installation. Please try manually later.\e[0m" fi