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

5
bin/omarchy-pkg-aur-accessible Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
curl -sf --connect-timeout 30 -A "omarchy-update" \
"https://aur.archlinux.org/rpc/?v=5&type=info&arg=base" |
jq -e empty >/dev/null