diff options
author | Tom Willemse | 2021-01-18 16:31:04 -0800 |
---|---|---|
committer | Tom Willemse | 2021-01-18 16:31:04 -0800 |
commit | 901defa03478ee951cd4c04c0d360443e20a0b36 (patch) | |
tree | 35ec593c89044011e42d073ee03d5e7330fbf9a2 | |
parent | 46458acd95b3a700dca6c78a77811edf61558a9d (diff) | |
download | update-mirrors-901defa03478ee951cd4c04c0d360443e20a0b36.tar.gz update-mirrors-901defa03478ee951cd4c04c0d360443e20a0b36.zip |
Follow redirects when loading the mirror list
-rwxr-xr-x | update-mirrors | 2 |
1 files changed, 1 insertions, 1 deletions
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 |