diff --git a/README.md b/README.md index dc0bdd7..4c5d267 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,6 @@ Plex organizes video, music and photos from personal media libraries and streams ## Sample create command: -> *docker create --name= --net=host -e PUID= -e PGID -v :/config -v :/data/tvshows -v :/data/film linuxserver/plex* \ No newline at end of file +``` +docker create --name= --net=host -e PUID= -e PGID= -v :/config -v :/data/tvshows -v :/data/film linuxserver/plex +``` \ No newline at end of file diff --git a/init/20_update_plex.sh b/init/20_update_plex.sh index cd1c7be..f6c44be 100644 --- a/init/20_update_plex.sh +++ b/init/20_update_plex.sh @@ -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)