fix get latest error

This commit is contained in:
Ing 2023-09-08 21:36:13 +08:00
parent c871a27d0d
commit cbc17f420a

View File

@ -1563,7 +1563,7 @@ function downloadExts() {
TAG="${LATESTURL##*/}"
fi
[ "${TAG:0:1}" = "v" ] && TAG="${TAG:1}"
if [ -z "${TAG}" ]; then
if [ -z "${TAG}" -o "${TAG}" = "latest" ]; then
if [ ! "${5}" = "0" ]; then
dialog --backtitle "$(backtitle)" --colors --title "${T}" \
--infobox "$(TEXT "Error checking new version")" 0 0