Simplify guard against an unavailable AUR

This commit is contained in:
David Heinemeier Hansson
2025-08-24 17:41:41 +02:00
parent 673cea1644
commit f1af28f10d
5 changed files with 16 additions and 40 deletions

View File

@@ -1,8 +1,6 @@
#!/bin/bash
if curl -sf --connect-timeout 30 -A "omarchy-update" \
"https://aur.archlinux.org/rpc/?v=5&type=info&arg=base" |
jq -e '.type=="multiinfo"' >/dev/null; then
if omarchy-pkg-aur-accessible; then
if [ -z "$OMARCHY_BARE" ]; then
yay -S --noconfirm --needed \
1password-beta 1password-cli \