Update 30_update_plex.sh
Move to current Plex domain. Plexapp.com has a 301 permanent redirect, but some users are not being re-directed.
This commit is contained in:
parent
5bae757aa7
commit
d9852df4cb
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ if [[ "$VERSION" != "$INSTALLED" ]]; then
|
||||||
echo "Upgradeing from version: $INSTALLED to version: $VERSION"
|
echo "Upgradeing from version: $INSTALLED to version: $VERSION"
|
||||||
while [[ $last -ne "0" ]]; do
|
while [[ $last -ne "0" ]]; do
|
||||||
rm -f /tmp/plexmediaserver_*.deb
|
rm -f /tmp/plexmediaserver_*.deb
|
||||||
wget -P /tmp "https://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb"
|
wget -P /tmp "https://downloads.plex.tv/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb"
|
||||||
last=$?
|
last=$?
|
||||||
done
|
done
|
||||||
apt-get remove --purge -y plexmediaserver
|
apt-get remove --purge -y plexmediaserver
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue