From: hayao Date: Tue, 2 Mar 2021 11:59:19 +0000 (+0900) Subject: [fix] : Fixed typo X-Git-Tag: 20210705~343^2~39 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b83db0d2850fb8fd23f665ad67782139902eb3be;p=alterlinux%2Falterlinux.git [fix] : Fixed typo --- diff --git a/build.sh b/build.sh index f81aa44f..1dbc9ca6 100755 --- a/build.sh +++ b/build.sh @@ -1252,7 +1252,7 @@ fi # Check channel version msg_debug "channel path is ${channel_dir}" -if [[ "$(bash "${tools_dir}/channel.sh" --version "${alteriso_version}" ver "${channel_name}" | cut -d "." -f 1)" = "$(echo "${alteriso_version}" | cut -d "." -f 1)" ]] && [[ "${nochkver}" = false ]]; then +if [[ ! "$(bash "${tools_dir}/channel.sh" --version "${alteriso_version}" ver "${channel_name}" | cut -d "." -f 1)" = "$(echo "${alteriso_version}" | cut -d "." -f 1)" ]] && [[ "${nochkver}" = false ]]; then msg_error "This channel does not support Alter ISO 3." if [[ -d "${script_path}/.git" ]]; then msg_error "Please run \"git checkout alteriso-2\"" "1"