From 8cbadb61604667b407b53ee1258433994fa4765a Mon Sep 17 00:00:00 2001 From: coasteen Date: Thu, 9 Jul 2026 10:42:28 +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