From b7e23058ed5a1f8ee32dae2ae1103584f22bba5e Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Wed, 21 Jul 2021 09:49:48 +0700 Subject: [PATCH] Use wget in place of curl This is the only line that requires curl. Other than that, Live Build already depends on wget (through debootstrap), so let's use it as it's already a requirement. --- auto/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/config b/auto/config index ae1b9f6..fafb64f 100755 --- a/auto/config +++ b/auto/config @@ -55,7 +55,7 @@ done eval set -- "$temp" # Resolve release name -dist=$(curl -s $kali_mirror/dists/$dist/Release | awk '/^Codename:/ {print $2}') +dist=$(wget -q -O- $kali_mirror/dists/$dist/Release | awk '/^Codename:/ {print $2}') if [ -z "$dist" ]; then echo "ERROR: Build release could not be resolved" exit 1