Skip to content

Commit

Permalink
fix Manjaro unable to download iso
Browse files Browse the repository at this point in the history
  • Loading branch information
Jai-JAP committed Jan 1, 2022
1 parent e33900a commit 7c21235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,8 @@ function get_manjaro() {
fi

MANIFESTURL="https://gitlab.manjaro.org/webpage/manjaro-homepage/-/raw/master/site/content/downloads/${BRANCH}/${FLAVOR}.md"
URL=$(wget -qO- ${MANIFESTURL} | grep "${KEY}" | awk '{print $3}')
ISO="$(echo $URL | awk -F "/" '{print $6}' | tr -d '"')"
URL="$(wget -qO- ${MANIFESTURL} | grep "${KEY}" | awk '{print $3}' | tr -d '"')"
ISO="$(echo $URL | awk -F "/" '{print $6}')"
HASH=$(wget -qO- ${MANIFESTURL} | grep "${HASHKEY}" | awk '{print $3}' | tr -d '"')
web_get "${URL}" "${VM_PATH}"
check_hash "${ISO}" "${HASH}"
Expand Down

0 comments on commit 7c21235

Please sign in to comment.