1
0
Fork 0

Follow redirects when loading the mirror list

This commit is contained in:
Tom Willemse 2021-01-18 16:31:04 -08:00
parent 46458acd95
commit 901defa034

View file

@ -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