1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-23 07:30:16 -07:00

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"
mkdir -p "$PWD/$dest"
# Intentional, globbing disabled.
# shellcheck disable=2046,2086
${KISS_DL:-curl -fLo} "$_des" "$src" || {
curl -fLo "$_des" "$src" || {
rm -f "$_des"
die "$1" "Failed to download $src"
}