Skip to content

Commit a1eec17

Browse files
authored
removed unused var and testing echo
1 parent d60c9d3 commit a1eec17

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

PMS_Updater.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,9 @@ webGet()
161161
findLatest()
162162
{
163163
if [ $VERBOSE = 1 ]; then echo Using URL $TOKENURL; fi
164-
local SCRAPEFILE="plex.json"
165164

166165
echo Searching $TOKENURL for the FreeBSD download URL ..... | LogMsg -n
167166
DOWNLOADURL="$(fetch $TOKENURL -o- | $PMSPARENTPATH/$PMSLIVEFOLDER/Plex\ Script\ Host -c 'import sys, json; myobj = json.load(sys.stdin); print(myobj["computer"]["FreeBSD"]["releases"][0]["url"]);')"
168-
echo Download URL is $DOWNLOADURL | LogMsg -n
169167

170168
if [ "x$DOWNLOADURL" = "x" ]; then {
171169
# DOWNLOADURL is zero length, i.e. nothing matched PMSPATTERN. Error and exit

0 commit comments

Comments
 (0)