updating endpoint to specifically hit the computer linux json and using custom_json for versioning

This commit is contained in:
thelamer 2019-03-14 16:40:11 -07:00
parent c41d3e05eb
commit d8254e6bdf
6 changed files with 22 additions and 19 deletions

View file

@ -35,8 +35,8 @@ RUN \
chmod +x /sbin/udevadm && \
echo "**** install plex ****" && \
if [ -z ${PLEX_RELEASE+x} ]; then \
PLEX_RELEASE=$(curl -sX GET 'https://plex.tv/api/downloads/5.json' \
| jq -r 'first(.[] | .Linux.version)'); \
PLEX_RELEASE=$(curl -sX GET 'https://plex.tv/api/downloads/5.json' \
| jq -r '.computer.Linux.version'); \
fi && \
curl -o \
/tmp/plexmediaserver.deb -L \