service.nextpvr fix broken download script

Not sure what happened but the script I submitted and had it locally in my repo and on GithHb had this change after CvH noted it during the  PR review but it didn't make it to the PR.
This commit is contained in:
emveepee 2023-02-25 16:34:32 -05:00
parent ef1ce97e9b
commit 9a8a61d4c7
3 changed files with 5 additions and 2 deletions

View File

@ -1 +1,4 @@
2
Fix nextpvr-downloader script
initial release

View File

@ -3,7 +3,7 @@
PKG_NAME="nextpvr"
PKG_VERSION="6.1.1~Nexus"
PKG_ADDON_VERSION="6.1.1~1"
PKG_ADDON_VERSION="6.1.1~2"
PKG_REV="0"
PKG_ARCH="any"
PKG_LICENSE="NextPVR"

View File

@ -40,7 +40,7 @@ echo "Downloading NextPVR"
# download NextPVR
rm -f ${CONTROL_FILE} ${DATA_FILE}
(
curl -L -# -O -C - https://github.com/sub3/releases/releases/download/${NEXTPVR_VERSION}%~*/${NEXTPVR_FILE} 2>${DATA_FILE}
curl -L -# -O -C - https://github.com/sub3/releases/releases/download/${NEXTPVR_VERSION%~*}/${NEXTPVR_FILE} 2>${DATA_FILE}
touch ${CONTROL_FILE}
) |
while [ : ]; do