mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
15 lines
355 B
Bash
Executable File
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
|