mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-13 18:34:16 +02:00
refactor: update spirallinux to use web_pipe()
This commit is contained in:
parent
55a4c85820
commit
2274d3d923
2
quickget
2
quickget
|
@ -2785,7 +2785,7 @@ function get_spirallinux() {
|
|||
local HASH=""
|
||||
local ISO="SpiralLinux_${EDITION}_12.231005_x86-64.iso"
|
||||
local URL="https://sourceforge.net/projects/spirallinux/files/12.231005"
|
||||
HASH=$(wget -q -O- 'https://sourceforge.net/projects/spirallinux/rss?path=/' | grep "${ISO}" | grep 'md5' | cut -d'<' -f3 | cut -d'>' -f2)
|
||||
HASH=$(web_pipe 'https://sourceforge.net/projects/spirallinux/rss?path=/' | grep "${ISO}" | grep 'md5' | cut -d'<' -f3 | cut -d'>' -f2)
|
||||
echo "${URL}/${ISO}" "${HASH}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user