Updates from https now.
This commit is contained in:
parent
cb56b0be15
commit
cccc8b4c49
2 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ CMD ["/sbin/my_init"]
|
||||||
|
|
||||||
# Install Plex
|
# Install Plex
|
||||||
RUN apt-get -q update && \
|
RUN apt-get -q update && \
|
||||||
VERSION=$(curl -s http://tools.linuxserver.io/latest-plex.json| grep "version" | cut -d '"' -f 4) && \
|
VERSION=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "version" | cut -d '"' -f 4) && \
|
||||||
apt-get install -qy dbus gdebi-core avahi-daemon wget && \
|
apt-get install -qy dbus gdebi-core avahi-daemon wget && \
|
||||||
wget -P /tmp "http://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" && \
|
wget -P /tmp "http://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" && \
|
||||||
gdebi -n /tmp/plexmediaserver_${VERSION}_amd64.deb && \
|
gdebi -n /tmp/plexmediaserver_${VERSION}_amd64.deb && \
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@ INSTALLED=`dpkg-query -W -f='${Version}' plexmediaserver`
|
||||||
if [ $VERSION ]; then
|
if [ $VERSION ]; then
|
||||||
echo "Useing version: $VERSION from Manual"
|
echo "Useing version: $VERSION from Manual"
|
||||||
elif [ "$PLEXPASS" == "1" ]; then
|
elif [ "$PLEXPASS" == "1" ]; then
|
||||||
VERSION=$(curl -s http://tools.linuxserver.io/latest-plexpass.json | grep "version" | cut -d '"' -f 4)
|
VERSION=$(curl -s https://tools.linuxserver.io/latest-plexpass.json | grep "version" | cut -d '"' -f 4)
|
||||||
echo "Useing version: $VERSION from Plexpass latest"
|
echo "Useing version: $VERSION from Plexpass latest"
|
||||||
else
|
else
|
||||||
VERSION=$(curl -s http://tools.linuxserver.io/latest-plex.json| grep "version" | cut -d '"' -f 4)
|
VERSION=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "version" | cut -d '"' -f 4)
|
||||||
echo "Useing version: $VERSION from Public latest"
|
echo "Useing version: $VERSION from Public latest"
|
||||||
fi
|
fi
|
||||||
if [ "$VERSION" == "$INSTALLED" ]; then
|
if [ "$VERSION" == "$INSTALLED" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue