mirror of
https://github.com/kenzok8/openwrt-packages.git
synced 2025-01-08 11:37:36 +08:00
update 2023-04-15 09:14:36
This commit is contained in:
parent
f166c1b994
commit
7b0e045bc5
@ -11,7 +11,7 @@ LUCI_PKGARCH:=all
|
||||
|
||||
PKG_NAME:=luci-app-unblockneteasemusic
|
||||
PKG_VERSION:=2.14
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
|
||||
|
||||
|
@ -26,7 +26,7 @@ clean_log(){
|
||||
check_core_latest_version() {
|
||||
core_latest_ver="$(wget -qO- 'https://api.github.com/repos/UnblockNeteaseMusic/server/commits?sha=enhanced&path=precompiled' | jsonfilter -e '@[0].sha')"
|
||||
[ -n "$core_latest_ver" ] || { echo -e "\nFailed to check latest core version, please try again later." >> "$LOG"; rm -f "$LOCK"; exit 1; }
|
||||
if [ ! -e "$$UNM_DIR/core_local_ver" ]; then
|
||||
if [ ! -e "$UNM_DIR/core_local_ver" ]; then
|
||||
clean_log
|
||||
echo -e "Local version: NOT FOUND, latest version: $core_latest_ver." >> "$LOG"
|
||||
update_core
|
||||
|
Loading…
Reference in New Issue
Block a user