Files
arthur-os/bin/omarchy-update-aur-pkgs
2026-04-28 12:03:46 -04:00

15 lines
355 B
Bash
Executable File

#!/bin/bash
# omarchy:summary=Update AUR packages if any are installed
if pacman -Qem >/dev/null; then
if omarchy-pkg-aur-accessible; then
echo -e "\e[32m\nUpdate AUR packages\e[0m"
yay -Sua --noconfirm --cleanafter --ignore gcc14,gcc14-libs
echo
else
echo -e "\e[31m\nAUR is unavailable (so skipping updates)\e[0m"
echo
fi
fi