Skip to content

Commit 81f0da3

Browse files
Brian D. Frostthelamer
authored andcommitted
Fixing a curl command that was broken in 60-plex-update
1 parent c556996 commit 81f0da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/etc/cont-init.d/60-plex-update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if [[ "${VERSION,,}" = latest ]] || [[ "${VERSION,,}" = plexpass ]] || [[ "$PLEX
100100
fi
101101
REMOTE_VERSION=$(curl -s "https://plex.tv/downloads/details/5?distro=debian&build=linux-${PLEX_URL_ARCH}&channel=8&X-Plex-Token=$PLEX_TOKEN"| grep -oP 'version="\K[^"]+' | tail -n 1 )
102102
elif [[ "${VERSION,,}" = public ]]; then
103-
REMOTE_VERSION=curl -sX GET 'https://plex.tv/api/downloads/5.json' | jq -r '.computer.Linux.version'
103+
REMOTE_VERSION=$(curl -sX GET 'https://plex.tv/api/downloads/5.json' | jq -r '.computer.Linux.version')
104104
else
105105
REMOTE_VERSION="${VERSION}"
106106
fi

0 commit comments

Comments
 (0)