forked from kiss-community/kiss
kiss: Fix curl not following redirects.
This commit is contained in:
parent
4973cc04f6
commit
bd9a919246
2
kiss
2
kiss
@ -148,7 +148,7 @@ pkg_sources() {
|
|||||||
|
|
||||||
# Remote source.
|
# Remote source.
|
||||||
elif [ -z "${src##*://*}" ]; then
|
elif [ -z "${src##*://*}" ]; then
|
||||||
curl "$src" -o "${src##*/}" || {
|
curl "$src" -Lo "${src##*/}" || {
|
||||||
rm -f "${src##*/}"
|
rm -f "${src##*/}"
|
||||||
die "$1" "Failed to download $src"
|
die "$1" "Failed to download $src"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user