kiss: Use curl instead of wget.

This commit is contained in:
Dylan Araps 2020-01-09 18:38:43 +02:00
parent 9c6e77ac62
commit ee6fc5b979
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
wget "$src" || {
curl "$src" -o "${src##*/}" || {
rm -f "${src##*/}"
die "$1" "Failed to download $src"
}