mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-03 05:25:32 +02:00
refactor: update parrot to use web_pipe()
This commit is contained in:
parent
5eb4b39c81
commit
57b55f5e22
4
quickget
4
quickget
|
@ -2598,8 +2598,8 @@ function get_parrotsec() {
|
|||
local URL=""
|
||||
ISO="Parrot-${EDITION}-${RELEASE}_amd64.iso"
|
||||
URL="https://download.parrot.sh/parrot/iso/${RELEASE}"
|
||||
HASH="$(wget -q -O- ${URL}/signed-hashes.txt | grep ${ISO} | cut -d' ' -f1)"
|
||||
echo "${URL}/${ISO}" "${HASH}"
|
||||
HASH="$(web_pipe "${URL}/signed-hashes.txt" | grep "${ISO}" | cut_1)"
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
function get_peppermint() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user