From e593b6a5b0a9297037285574dfe98e45a1b52e1e Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Wed, 16 Sep 2015 00:01:40 +0200 Subject: [PATCH] Update to https --- Dockerfile | 2 +- init/20_update_plex.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9df979a..5728087 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ MAINTAINER Stian Larsen RUN apt-get -q update && \ 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 && \ -wget -P /tmp "http://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" && \ +wget -P /tmp "https://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" && \ gdebi -n /tmp/plexmediaserver_${VERSION}_amd64.deb && \ rm -f /tmp/plexmediaserver_${VERSION}_amd64.deb && \ apt-get clean && \ diff --git a/init/20_update_plex.sh b/init/20_update_plex.sh index e78dace..e9029c4 100644 --- a/init/20_update_plex.sh +++ b/init/20_update_plex.sh @@ -22,7 +22,7 @@ if [[ "$VERSION" != "$INSTALLED" ]]; then echo "Upgradeing from version: $INSTALLED to version: $VERSION" while [[ $last -ne "0" ]]; do rm -f /tmp/plexmediaserver_*.deb - wget -P /tmp "http://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" + wget -P /tmp "https://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" last=$? done apt-get remove --purge -y plexmediaserver