mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-13 18:34:16 +02:00
refactor: update siduction to use web_pipe()
This commit is contained in:
parent
681ee3a9aa
commit
75816eb35d
4
quickget
4
quickget
|
@ -2701,8 +2701,8 @@ function get_siduction() {
|
|||
local DATE=""
|
||||
local ISO=""
|
||||
local URL="https://mirrors.dotsrc.org/siduction/iso/Standing_on_the_Shoulders_of_Giants/${EDITION}"
|
||||
DATE=$(wget -q -O- "${URL}"| grep .iso.md5 | cut -d'-' -f6 | cut -d'.' -f1)
|
||||
HASH=$(wget -q -O- "${URL}/${ISO}.md5" | cut_1)
|
||||
DATE=$(web_pipe "${URL}"| grep .iso.md5 | cut -d'-' -f6 | cut -d'.' -f1)
|
||||
HASH=$(web_pipe "${URL}/${ISO}.md5" | cut_1)
|
||||
ISO="siduction-2023.1.1-Standing_on_the_Shoulders_of_Giants-${EDITION}-amd64-${DATE}.iso"
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user