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
1 changed files with 4 additions and 4 deletions

View File

@ -677,9 +677,9 @@ function get_android() {
local URL=""
validate_release "releases_android"
fosshubVerionInfo=$(wget -O - -q "https://www.fosshub.com/Android-x86-old.html" | grep "var settings =")
verison="android-x86-${RELEASE}"
releaseJson=$(echo ${fosshubVerionInfo:16} | jq --arg ver "${verison}" 'first(.pool.f[] | select((.n | startswith($ver)) and (.n | endswith(".iso"))))')
fosshubVersionInfo=$(wget -O - -q "https://www.fosshub.com/Android-x86-old.html" | grep "var settings =")
version="android-x86-${RELEASE}"
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)
ISO=$(echo "${releaseJson}" | jq -r .n)
@ -781,7 +781,7 @@ function get_kali() {
if [[ "${RELEASE}" == "latest" ]]; then
SUBDIR="current"
else
SUBDIR="kali-weeekly"
SUBDIR="kali-weekly"
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-)