aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-09 16:38:43 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-09 16:38:43 +0000
commit62886d903ce49fc0901e943c5474c832ca45d4a6 (patch)
tree94f753ed8f174e93c9724c9a604fbec240a00f65 /kiss
parente09ce3539cf5954a6e50144c43cce17f327b8921 (diff)
downloadcpt-62886d903ce49fc0901e943c5474c832ca45d4a6.tar.gz
kiss: Use curl instead of wget.
FossilOrigin-Name: e08e18121ca61ad9cae84d12d9b5e0dbf63ad4a0f9ff93cb2c80885b6b42b54d
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 53bf47f..dd6f5d1 100755
--- a/kiss
+++ b/kiss
@@ -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"
}