refactor: Improve not equals syntax in get_deepin function

This commit is contained in:
Liam 2024-10-19 17:29:15 -07:00
parent 8299bfc896
commit 24e081752d
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
local URL="https://cdimage.deepin.com/releases/"${RELEASE}
# Correct URL for 23-RC onwards which has architecture directories
if [[ ! "${RELEASE}" == "20.9" ]] ; then
if [ "${RELEASE}" != "20.9" ]; then
URL+="/amd64"
fi
local ISO="deepin-desktop-community-${REV}-amd64.iso"