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.
merge-requests/16/head
Arnaud Rebillout 4 years ago
parent 88e5ec963b
commit b7e23058ed
No known key found for this signature in database
GPG Key ID: E725E87914600216

@ -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

Loading…
Cancel
Save