Smal fix to readme and hopefully better check for plexpass

pull/1/head
Stian Buch Larsen 10 years ago
parent bb291c52e6
commit 3b0da73941

@ -20,4 +20,6 @@ Plex organizes video, music and photos from personal media libraries and streams
## Sample create command:
> *docker create --name=<name> --net=host -e PUID=<UID> -e PGID <GID> -v </path/to/library>:/config -v <path/to/tvseries>:/data/tvshows -v </path/to/films>:/data/film linuxserver/plex*
```
docker create --name=<name> --net=host -e PUID=<UID> -e PGID=<GID> -v </path/to/library>:/config -v <path/to/tvseries>:/data/tvshows -v </path/to/films>:/data/film linuxserver/plex
```

@ -1,7 +1,7 @@
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
INSTALLED=`dpkg-query -W -f='${Version}' plexmediaserver`
if [ -z "$PLEXPASS" ]; then
if [ "$PLEXPASS" -eq "1" ]; then
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/public)
else
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/plexpass)

Loading…
Cancel
Save