mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
14 lines
338 B
Bash
Executable File
14 lines
338 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# 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
|