feat: Add support for FreeDOS 1.4 (#1678)
This commit is contained in:
parent
6145f685aa
commit
9f90d46ea1
14
quickget
14
quickget
|
@ -743,7 +743,7 @@ function editions_freebsd() {
|
|||
}
|
||||
|
||||
function releases_freedos() {
|
||||
echo 1.3 1.2
|
||||
echo 1.4 1.3 1.2
|
||||
}
|
||||
|
||||
function releases_garuda() {
|
||||
|
@ -1892,11 +1892,17 @@ function get_freebsd() {
|
|||
function get_freedos() {
|
||||
local HASH=""
|
||||
local ISO=""
|
||||
local URL="https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/${RELEASE}/official"
|
||||
local BASE_URL="https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/${RELEASE}"
|
||||
local URL=""
|
||||
case ${RELEASE} in
|
||||
1.2) ISO="FD12CD.iso"
|
||||
1.2) URL="${BASE_URL}/official"
|
||||
ISO="FD12CD.iso"
|
||||
HASH=$(web_pipe "${URL}/FD12.sha" | grep "${ISO}" | cut -d' ' -f1);;
|
||||
1.3) ISO="FD13-LiveCD.zip"
|
||||
1.3) URL="${BASE_URL}/official"
|
||||
ISO="FD13-LiveCD.zip"
|
||||
HASH=$(web_pipe "${URL}/verify.txt" | grep -A 8 "sha256sum" | grep "${ISO}" | cut -d' ' -f1);;
|
||||
1.4) URL="${BASE_URL}"
|
||||
ISO="FD14-LiveCD.zip"
|
||||
HASH=$(web_pipe "${URL}/verify.txt" | grep -A 8 "sha256sum" | grep "${ISO}" | cut -d' ' -f1);;
|
||||
esac
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
|
|
Loading…
Reference in New Issue