cpt

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

commit bd9a91924605b4f9c4ea6587521a0e40311d60cc
parent 4973cc04f67993b14fae81139f99453d56eb8343
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Thu,  9 Jan 2020 23:13:18 +0200

kiss: Fix curl not following redirects.

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" -o "${src##*/}" || { + curl "$src" -Lo "${src##*/}" || { rm -f "${src##*/}" die "$1" "Failed to download $src" }