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

View file

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