fix(deepin): Correct architecture insertion logic
so Deepin 23 and later are correctly adjusted.
This commit is contained in:
parent
70603de2a3
commit
8299bfc896
2
quickget
2
quickget
|
@ -1700,7 +1700,7 @@ function get_deepin() {
|
||||||
# deepin-desktop-community-20.3-amd64.iso
|
# deepin-desktop-community-20.3-amd64.iso
|
||||||
local URL="https://cdimage.deepin.com/releases/"${RELEASE}
|
local URL="https://cdimage.deepin.com/releases/"${RELEASE}
|
||||||
# Correct URL for 23-RC onwards which has architecture directories
|
# Correct URL for 23-RC onwards which has architecture directories
|
||||||
if [[ "${RELEASE}" == *"23-RC"* ]] ; then
|
if [[ ! "${RELEASE}" == "20.9" ]] ; then
|
||||||
URL+="/amd64"
|
URL+="/amd64"
|
||||||
fi
|
fi
|
||||||
local ISO="deepin-desktop-community-${REV}-amd64.iso"
|
local ISO="deepin-desktop-community-${REV}-amd64.iso"
|
||||||
|
|
Loading…
Reference in New Issue