Smal fix to readme and hopefully better check for plexpass
This commit is contained in:
parent
bb291c52e6
commit
3b0da73941
2 changed files with 4 additions and 2 deletions
|
|
@ -20,4 +20,6 @@ Plex organizes video, music and photos from personal media libraries and streams
|
||||||
|
|
||||||
## Sample create command:
|
## 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
|
#!/bin/bash
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
INSTALLED=`dpkg-query -W -f='${Version}' plexmediaserver`
|
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)
|
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/public)
|
||||||
else
|
else
|
||||||
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/plexpass)
|
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/plexpass)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue