Fix typos
This commit is contained in:
parent
2a86681bb0
commit
9aa4166324
8
quickget
8
quickget
@ -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-)
|
||||||
|
Loading…
Reference in New Issue
Block a user