Update to https

This commit is contained in:
Stian Buch Larsen 2015-09-16 00:01:40 +02:00
parent 556bf9ed8f
commit e593b6a5b0
2 changed files with 2 additions and 2 deletions

View file

@ -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