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
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue