2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2025-06-10 13:11:12 +00:00

Fix for version page now being JSON

This commit is contained in:
Adam Dodman
2017-07-17 18:51:46 +01:00
parent ad3636b211
commit 96604f6e17
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ RUN wget http://ftp.de.debian.org/debian/pool/main/g/gcc-4.9/libstdc++6_4.9.2-10
# We only need the lib files, everything else is debian junk.
&& mv /tmp/usr/lib/x86_64-linux-gnu/* /lib \
&& mv /tmp/lib/x86_64-linux-gnu/* /lib \
&& export PLEX_VER=$(wget -qO- https://adam-ant.co.uk/plex/version.php) \
&& export PLEX_VER=$(wget -qO- https://adam-ant.co.uk/plex/version.php | sed -n 's/.*"release":\s*"\([^"]*\)".*/\1/p') \
&& wget -O plexmediaserver.deb "https://downloads.plex.tv/plex-media-server/$PLEX_VER/plexmediaserver_"$PLEX_VER"_amd64.deb" \
&& dpkg-deb -x plexmediaserver.deb . \
# Move usr/lib and start_pms. Everything else is useless