refactor: Improve not equals syntax in get_deepin function
This commit is contained in:
parent
8299bfc896
commit
24e081752d
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}" == "20.9" ]] ; 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