kiss: remove KISS_DL

This commit is contained in:
Dylan Araps 2021-07-05 14:07:54 +03:00
parent d0ee4c457e
commit 88f74d2d21
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

4
kiss
View File

@ -300,9 +300,7 @@ pkg_source() {
log "$1" "Downloading $src" log "$1" "Downloading $src"
mkdir -p "$PWD/$dest" mkdir -p "$PWD/$dest"
# Intentional, globbing disabled. curl -fLo "$_des" "$src" || {
# shellcheck disable=2046,2086
${KISS_DL:-curl -fLo} "$_des" "$src" || {
rm -f "$_des" rm -f "$_des"
die "$1" "Failed to download $src" die "$1" "Failed to download $src"
} }