diff options
| author | coasteen <coasteen@proton.me> | 2026-07-09 10:42:28 +0330 |
|---|---|---|
| committer | coasteen <coasteen@proton.me> | 2026-07-09 10:42:28 +0330 |
| commit | 8cbadb61604667b407b53ee1258433994fa4765a (patch) | |
| tree | 97765fb29418fd6278fcb4cbb9760893afaf7a58 /local/bin/aurtest.sh | |
Diffstat (limited to 'local/bin/aurtest.sh')
| -rwxr-xr-x | local/bin/aurtest.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/local/bin/aurtest.sh b/local/bin/aurtest.sh new file mode 100755 index 0000000..d26ca37 --- /dev/null +++ b/local/bin/aurtest.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +AUR_URL="https://aur.archlinux.org" +TIMEOUT=5 + +if curl -s --head --fail --max-time "$TIMEOUT" "$AUR_URL" > /dev/null; then + echo "Unfortunately, the AUR is up." +else + echo "AUR IS DOWN" +fi |
