mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 12:59:40 -07:00
Standardize tabs
This commit is contained in:
parent
b74aafdc02
commit
c34022760f
1 changed files with 14 additions and 13 deletions
|
@ -418,6 +418,7 @@ if [ "${PUBLIC}" = "no" ]; then
|
|||
rm /tmp/failcause
|
||||
|
||||
echo "OK"
|
||||
|
||||
elif [ "$PUBLIC" != "no" ]; then
|
||||
# It's a public version, so change URL and make doubly sure that cookies are empty
|
||||
rm 2>/dev/null >/dev/null /tmp/kaka
|
||||
|
@ -451,7 +452,7 @@ if [ "${LISTOPTS}" = "yes" ]; then
|
|||
fi
|
||||
|
||||
# Extract the URL for our release
|
||||
echo -n "Finding download URL to download..."
|
||||
echo -n "Finding download URL to download..."
|
||||
|
||||
# Set "X-Plex-Token" to the auth token, if no token is specified or it is invalid, the list will return public downloads by default
|
||||
RELEASE=$(wget --header "X-Plex-Token:"${TOKEN}"" --load-cookies /tmp/kaka --save-cookies /tmp/kaka --keep-session-cookies "${URL_DOWNLOAD}" -O - 2>/dev/null | grep -ioe '"label"[^}]*' | grep -i "\"distro\":\"${DISTRO}\"" | grep -m1 -i "\"build\":\"${BUILD}\"")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue