Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
FeliciaWen committed Aug 25, 2021
1 parent b7c52ad commit 3b2c077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/AutoUpdate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ wget -q --timeout 5 ${Github_Tags} -O - > ${Download_Path}/Github_Tags
exit 1
}
TIME "正在获取云端固件信息..."
export CLOUD_Firmware=$(egrep -o "${CURRENT_Device}-R[0-9].+-[0-9]+-sysupgrade${Firmware_SFX}" ${Download_Path}/Github_Tags | awk 'END {print}')
export CLOUD_Firmware=$(egrep -o "${CURRENT_Device}-R[0-9].+-[0-9]+-squashfs-sysupgrade${Firmware_SFX}" ${Download_Path}/Github_Tags | awk 'END {print}')
export CLOUD_Version=$(echo ${CLOUD_Firmware} | egrep -o "R[0-9].+-[0-9]+")
[[ -z "${CLOUD_Version}" ]] && {
TIME r "云端固件信息获取失败!"
Expand Down

0 comments on commit 3b2c077

Please sign in to comment.