cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit f499415c208263dd61da76f90c47f46f6f1cbfa8
parent feac556f5689526d22ac83494f9ec278f5175b84
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Fri, 10 Jan 2020 17:48:26 +0200

kiss: Fix curl not exiting with error on 404

Diffstat:
Mkiss | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kiss b/kiss @@ -148,7 +148,7 @@ pkg_sources() { # Remote source. elif [ -z "${src##*://*}" ]; then - curl "$src" -Lo "${src##*/}" || { + curl "$src" -fLo "${src##*/}" || { rm -f "${src##*/}" die "$1" "Failed to download $src" }