fix(deepin): Correct architecture insertion logic

so Deepin 23 and  later are correctly adjusted.
This commit is contained in:
Phil Clifford 2024-10-18 22:58:44 +01:00 committed by Liam
parent 70603de2a3
commit 8299bfc896
1 changed files with 1 additions and 1 deletions

View File

@ -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"