update 2024-10-01 14:10:41

This commit is contained in:
actions-user 2024-10-01 14:10:41 +08:00
parent 8217a13e8b
commit d71abd465e
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#===================================================================================================
#=====================================================================================================
# This file is licensed under the terms of the GNU General Public
# License version 2. This program is licensed "as is" without any
# warranty of any kind, whether express or implied.
@ -6,17 +6,17 @@
# This file is a part of the luci-app-amlogic plugin
# https://github.com/ophub/luci-app-amlogic
#
# Description: Support install/update/backup/restore/snapshot etc for OpenWrt on amlogic s9xxx boxs
# Description: Supports install/update/backup/restore/snapshot operations using OpenWrt on many boxes
# Copyright (C) 2021- https://github.com/unifreq/openwrt_packit
# Copyright (C) 2021- https://github.com/ophub/luci-app-amlogic
#
# Command: curl -fsSL git.io/luci-app-amlogic | bash
#===================================================================================================
#=====================================================================================================
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-amlogic
PKG_VERSION:=3.1.245
PKG_VERSION:=3.1.246
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0 License

View File

@ -79,7 +79,7 @@ tolog "02. Start querying plugin version..."
latest_version="$(
curl -fsSL -m 10 \
https://github.com/ophub/luci-app-amlogic/releases |
grep -oE 'expanded_assets/[0-9]+.[0-9]+.[0-9]+(-[0-9]+)?' | sed 's|expanded_assets/||' |
grep -oE 'expanded_assets/[0-9]+.[0-9]+.[0-9]+(-[0-9]+)?' | sed 's|expanded_assets/||g' |
sort -urV | head -n 1
)"
if [[ -z "${latest_version}" ]]; then