From 901defa03478ee951cd4c04c0d360443e20a0b36 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 18 Jan 2021 16:31:04 -0800 Subject: [PATCH] Follow redirects when loading the mirror list --- update-mirrors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-mirrors b/update-mirrors index 15f9094..3b8a581 100755 --- a/update-mirrors +++ b/update-mirrors @@ -69,7 +69,7 @@ sudo." | fold >&2 fi # Download, ready, output -curl -s "$(make-url)" | sed 's/^#\([^#].*\)/\1/' > "$dest" +curl -s -L "$(make-url)" | sed 's/^#\([^#].*\)/\1/' > "$dest" echo "Saved in ${dest}" if [[ -f "${dest}.pacnew" ]]; then