Follow redirects when loading the mirror list
This commit is contained in:
parent
46458acd95
commit
901defa034
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ sudo." | fold >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Download, ready, output
|
# Download, ready, output
|
||||||
curl -s "$(make-url)" | sed 's/^#\([^#].*\)/\1/' > "$dest"
|
curl -s -L "$(make-url)" | sed 's/^#\([^#].*\)/\1/' > "$dest"
|
||||||
echo "Saved in ${dest}"
|
echo "Saved in ${dest}"
|
||||||
|
|
||||||
if [[ -f "${dest}.pacnew" ]]; then
|
if [[ -f "${dest}.pacnew" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue