Added error checking to the release retrieval step

merge-requests/16/head
cblack 5 years ago
parent 8c97080279
commit b924d8b810

@ -56,6 +56,10 @@ eval set -- "$temp"
# Resolve release name
dist=$(curl -s $kali_mirror/dists/$dist/Release | awk '/^Codename:/ {print $2}')
if [ -z "$dist" ]; then
echo "ERROR: Build release could not be resolved"
exit 1
fi
# live-build doesn't work if --parent-debian-distribution is unknown of
# debian-cd => we have to put a symlink so that it deals with kali like sid

Loading…
Cancel
Save