mirror of
https://github.com/linuxserver/docker-plex.git
synced 2026-04-13 00:04:33 +08:00
Smal fix to readme and hopefully better check for plexpass
This commit is contained in:
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…
x
Reference in New Issue
Block a user