refactor: update porteus to use web_pipe()
This commit is contained in:
parent
9bf12fee68
commit
f35524f8a3
2
quickget
2
quickget
|
@ -2643,7 +2643,7 @@ function get_porteus() {
|
||||||
edition="${EDITION~~}"
|
edition="${EDITION~~}"
|
||||||
ISO="Porteus-${edition}-v${RELEASE}-x86_64.iso"
|
ISO="Porteus-${edition}-v${RELEASE}-x86_64.iso"
|
||||||
URL="https://mirrors.dotsrc.org/porteus/x86_64/Porteus-v${RELEASE}"
|
URL="https://mirrors.dotsrc.org/porteus/x86_64/Porteus-v${RELEASE}"
|
||||||
HASH=$(wget -q -O- "${URL}/sha256sums.txt" | grep "${ISO}" | cut_1)
|
HASH=$(web_pipe "${URL}/sha256sums.txt" | grep "${ISO}" | cut_1)
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue