From 6ddd09259f4cd6884b62603931f1dd25543cda65 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 23 Mar 2026 15:02:45 +0100 Subject: [PATCH] Update links.yml to include apt-get update --- .github/workflows/links.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index c99794c..dc032c2 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -28,7 +28,8 @@ jobs: count=0 host="" declare -A seen - sudo apt-get install curl-impersonate + sudo apt-get update + sudo apt-get install curl-impersonate check() { local url="$1" http http=$(curl_ff -sSL -o /dev/null -w "%{http_code}" --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0)" --max-time 10 -I -- "$url" 2>&1) || http="000"