INNER CODE UNIT · Shell
a
VPSDance/vkit · autoBestTrace.sh:67
a=${ver1[i]:-0}
b=${ver2[i]:-0}
# Strip non-digits just in case
a=${a//[^0-9]/}
b=${b//[^0-9]/}
((10#$a < 10#$b)) && return 0
((10#$a > 10#$b)) && return 1
done
return 1
}
# install/update besttrace
need_download=false
reason=""
remote_v=$(get_remote_version || true)
if [ -x "$bin" ]; then
local_v=$(get_local_version || true)
else