kiss: Fix curl not following redirects.

This commit is contained in:
Dylan Araps 2020-01-09 23:13:18 +02:00
parent 4973cc04f6
commit bd9a919246
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -148,7 +148,7 @@ pkg_sources() {
# Remote source.
elif [ -z "${src##*://*}" ]; then
curl "$src" -o "${src##*/}" || {
curl "$src" -Lo "${src##*/}" || {
rm -f "${src##*/}"
die "$1" "Failed to download $src"
}