File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22export DEBIAN_FRONTEND=noninteractive
33
4- # The following error is not a error.
4+ # The following error is not an error.
55INSTALLED=$( dpkg-query -W -f=' ${Version}' plexmediaserver)
66
77[ " $PLEXPASS " ] && echo " PLEXPASS is deprecated, please use VERSION"
88
99if [[ -z $VERSION && " $PLEXPASS " == " 1" || $VERSION = " plexpass" ]]; then
1010 VERSION=$( curl -s https://tools.linuxserver.io/latest-plexpass.json | grep " version" | cut -d ' "' -f 4)
11- echo " Useing version: $VERSION from Plexpass latest"
11+ echo " Using version: $VERSION from Plexpass latest"
1212elif [[ $VERSION = " latest" || -z $VERSION ]]; then
1313 VERSION=$( curl -s https://tools.linuxserver.io/latest-plex.json| grep " version" | cut -d ' "' -f 4)
14- echo " Useing version: $VERSION from Public latest"
14+ echo " Using version: $VERSION from Public latest"
1515else
16- echo " Useing version: $VERSION from Manual"
16+ echo " Using version: $VERSION from Manual"
1717fi
1818
1919last=130
2020if [[ " $VERSION " != " $INSTALLED " ]]; then
21- echo " Upgradeing from version: $INSTALLED to version: $VERSION "
21+ echo " Upgrading from version: $INSTALLED to version: $VERSION "
2222 while [[ $last -ne " 0" ]]; do
2323 rm -f /tmp/plexmediaserver_* .deb
2424 wget -P /tmp " https://downloads.plex.tv/plex-media-server/$VERSION /plexmediaserver_${VERSION} _amd64.deb"
You can’t perform that action at this time.
0 commit comments