File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4905,7 +4905,7 @@ _GetLatestFWUpdateVersionFromGitHub_()
49054905 # Extract the version portion from the URL #
49064906 urlVersion=" $( echo " $theURL " \
49074907 | grep -oE " ${PRODUCT_ID} _[^ ]*\.(w|pkgtb)" \
4908- | sed " s/${PRODUCT_ID} _//;s/.w$//;s/.pkgtb$//;s/. ubi$//;s/_/./g" | head -n1) "
4908+ | sed " s/${PRODUCT_ID} _//;s/\\ .w$//;s/\\ .pkgtb$//;s/_ \\ ( ubi\\ |puresqubi \\ |nand_squashfs \\ ) $//;s/_/./g" | head -n1) "
49094909
49104910 if [ " $urlVersion " = " $routerVersion " ]
49114911 then
@@ -4968,7 +4968,7 @@ GetLatestFirmwareMD5URL()
49684968 # Extract the version portion from the URL #
49694969 md5Version=" $( echo " $theURL " \
49704970 | grep -oE " ${PRODUCT_ID} _[^ ]*\.(md5)" \
4971- | sed " s/${PRODUCT_ID} _//;s/.md5$//;s/.w$//;s/.pkgtb$//;s/. ubi$//;s/_/./g" | head -n1) "
4971+ | sed " s/${PRODUCT_ID} _//;s/\\ .md5$//;s/\\ .w$//;s/\\ .pkgtb$//;s/_ \\ ( ubi\\ |puresqubi \\ |nand_squashfs \\ ) $//;s/_/./g" | head -n1) "
49724972
49734973 if [ " $md5Version " = " $routerVersion " ]
49744974 then
You can’t perform that action at this time.
0 commit comments