From 72be1234e1ec030cb07095267e49481057eeb329 Mon Sep 17 00:00:00 2001 From: coasteen Date: Sun, 12 Jul 2026 08:16:17 +0330 Subject: init --- local/bin/aurtest.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 local/bin/aurtest.sh (limited to 'local/bin/aurtest.sh') 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 -- cgit v1.2.3