mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-27 15:24:45 +00:00
Download latest firmware instead of old
This commit is contained in:
@@ -41,7 +41,7 @@ if [ "$CURRENT_DEVICE" == "" ];then
|
|||||||
fi
|
fi
|
||||||
cd /tmp
|
cd /tmp
|
||||||
TIME && echo "正在获取云端固件版本..."
|
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
|
if [ "$GET_Version" == "" ];then
|
||||||
TIME && echo "云端固件版本获取失败,请稍后重试!"
|
TIME && echo "云端固件版本获取失败,请稍后重试!"
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in New Issue
Block a user