fix update hook: linux-phicomm-n1

This commit is contained in:
JerryXiao 2019-09-21 17:01:22 +08:00
parent 5156ded0bf
commit 3a718720bf
Signed by: Jerry
GPG Key ID: 9D9CE43650FF2BAA
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ newPkgVer() {
html="$(curl -s ${URL})"
next=$PATCH
[ $next == 0 ] && next=1
while true; do
if grep -Fq "${MAJOR_MINOR}.${next}" <<< "$html"; then
((next=next+1))