Download latest firmware instead of old
This commit is contained in:
		
							parent
							
								
									d3eb56e1bd
								
							
						
					
					
						commit
						f5e9ed4eca
					
				|  | @ -41,7 +41,7 @@ if [ "$CURRENT_DEVICE" == "" ];then | |||
| fi | ||||
| cd /tmp | ||||
| TIME && echo "正在获取云端固件版本..." | ||||
| GET_Version=`wget -q $Github_Tags -O - | egrep -o 'R[0-9]+.[0-9]+.[0-9]+.[0-9]+' | awk 'END {print}' | ||||
| GET_Version=`wget -q $Github_Tags -O - | egrep -o 'R[0-9]+.[0-9]+.[0-9]+.[0-9]+' | awk 'END {print}'` | ||||
| if [ "$GET_Version" == "" ];then | ||||
| 	TIME && echo "云端固件版本获取失败,请稍后重试!" | ||||
| 	exit | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue