Fix typos

This commit is contained in:
Philipp Kiemle 2021-11-05 17:45:45 +01:00 committed by Martin Wimpress
parent 2a86681bb0
commit 9aa4166324

View File

@ -677,9 +677,9 @@ function get_android() {
local URL="" local URL=""
validate_release "releases_android" validate_release "releases_android"
fosshubVerionInfo=$(wget -O - -q "https://www.fosshub.com/Android-x86-old.html" | grep "var settings =") fosshubVersionInfo=$(wget -O - -q "https://www.fosshub.com/Android-x86-old.html" | grep "var settings =")
verison="android-x86-${RELEASE}" version="android-x86-${RELEASE}"
releaseJson=$(echo ${fosshubVerionInfo:16} | jq --arg ver "${verison}" 'first(.pool.f[] | select((.n | startswith($ver)) and (.n | endswith(".iso"))))') releaseJson=$(echo ${fosshubVersionInfo:16} | jq --arg ver "${version}" 'first(.pool.f[] | select((.n | startswith($ver)) and (.n | endswith(".iso"))))')
HASH=$(echo "${releaseJson}" | jq -r .hash.sha256) HASH=$(echo "${releaseJson}" | jq -r .hash.sha256)
ISO=$(echo "${releaseJson}" | jq -r .n) ISO=$(echo "${releaseJson}" | jq -r .n)
@ -781,7 +781,7 @@ function get_kali() {
if [[ "${RELEASE}" == "latest" ]]; then if [[ "${RELEASE}" == "latest" ]]; then
SUBDIR="current" SUBDIR="current"
else else
SUBDIR="kali-weeekly" SUBDIR="kali-weekly"
fi fi
ISO=$(wget -q -O- "https://cdimage.kali.org/${SUBDIR}/?C=M;O=D" |grep -o ">kali-linux-.*-installer-amd64.iso"|head -n 1|cut -c 2-) ISO=$(wget -q -O- "https://cdimage.kali.org/${SUBDIR}/?C=M;O=D" |grep -o ">kali-linux-.*-installer-amd64.iso"|head -n 1|cut -c 2-)