mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-03 05:25:32 +02:00
refactor: simplify get_devuan() and update v4 to 4.0.3
This commit is contained in:
parent
be32867ebb
commit
95365eb5b6
8
quickget
8
quickget
|
@ -1747,11 +1747,13 @@ function get_devuan() {
|
|||
local HASH=""
|
||||
local ISO=""
|
||||
local URL="https://files.devuan.org/devuan_${RELEASE}/desktop-live"
|
||||
local VER=""
|
||||
case ${RELEASE} in
|
||||
beowulf) ISO="devuan_${RELEASE}_3.1.1_amd64_desktop-live.iso";;
|
||||
chimaera) ISO="devuan_${RELEASE}_4.0.2_amd64_desktop-live.iso";;
|
||||
daedalus) ISO="devuan_${RELEASE}_5.0.0_amd64_desktop-live.iso";;
|
||||
beowulf) VER="3.1.1";;
|
||||
chimaera) VER="4.0.3";;
|
||||
daedalus) VER="5.0.0";;
|
||||
esac
|
||||
ISO="devuan_${RELEASE}_${VER}_amd64_desktop-live.iso"
|
||||
HASH=$(web_pipe "${URL}/SHASUMS.txt" | grep "${ISO}" | cut_1)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user