refactor: update easyos to use web_pipe()
This commit is contained in:
parent
d0c5d83cbb
commit
1a25318d89
2
quickget
2
quickget
|
@ -2080,7 +2080,7 @@ function get_easyos() {
|
|||
YEAR="2024";;
|
||||
esac
|
||||
URL="https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/${YEAR}/${RELEASE}"
|
||||
HASH=$(wget -q -O- "${URL}/md5.sum.txt" | cut -d' ' -f1)
|
||||
HASH=$(web_pipe "${URL}/md5.sum.txt" | cut_1)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue