From 24e081752dbe5435eaffc2d1eeafbbbb88ed6180 Mon Sep 17 00:00:00 2001 From: Liam <33645555+lj3954@users.noreply.github.com> Date: Sat, 19 Oct 2024 17:29:15 -0700 Subject: [PATCH] refactor: Improve not equals syntax in get_deepin function --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 73e4a62..8caab46 100755 --- a/quickget +++ b/quickget @@ -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"