Removed references to .plexupdate

This commit is contained in:
Henric Andersson 2016-11-20 19:24:44 -08:00
commit 1faad1ed86

View file

@ -7,13 +7,16 @@
# as well as the PlexPass versions.
#
# PlexPass users:
# Create a separate .plexupdate file in your home directory with these
# Create a plexupdate.conf file in your home directory with these
# values:
#
# EMAIL='<whatever your plexpass email was>'
# PASS='<whatever password you used>'
# DOWNLOADDIR='<where you would like to save the downloaded package>'
#
# And run the tool using: ./plexupdate.sh --config plexupdate.conf
# or place the config in /etc/plexupdate.conf
#
# See https://github.com/mrworf/plexupdate for more details.
#
# Returns 0 on success
@ -33,16 +36,16 @@
# Check out https://github.com/mrworf/plexupdate for latest version
# and also what's new.
#
####################################################################
##############################################################################
# Quick-check before we allow bad things to happen
if [ -z "${BASH_VERSINFO}" ]; then
echo "ERROR: You must execute this script with BASH" >&2
exit 255
fi
#################################################################
# Don't change anything below this point, use a .plexupdate file
# in your home directory to override this section.
##############################################################################
# Don't change anything below this point, use a plexupdate.conf file
# to override this section.
# DOWNLOADDIR is the full directory path you would like the download to go.
#
EMAIL=
@ -276,7 +279,7 @@ done
# This will destroy and recreate the config file. Any settings that are set in the config file but are no longer
# valid will NOT be saved.
if [ "${SAVECONFIG}" = "yes" ]; then
echo "# Config file for plexupdate" >${CONFIGFILE:="${HOME}/.plexupdate"}
echo "# Config file for plexupdate" >${CONFIGFILE}
for VAR in AUTOINSTALL AUTODELETE DOWNLOADDIR EMAIL PASS FORCE FORCEALL PUBLIC AUTOSTART AUTOUPDATE PLEXSERVER PLEXPORT CHECKUPDATE
do
@ -319,12 +322,12 @@ if [ "${CRON}" = "yes" ]; then
fi
if [ "${KEEP}" = "yes" ]; then
error "KEEP is deprecated and should be removed from .plexupdate"
error "KEEP is deprecated and should be removed from config file"
exit 255
fi
if [ ! -z "${RELEASE}" ]; then
error "RELEASE keyword is deprecated and should be removed from .plexupdate"
error "RELEASE keyword is deprecated and should be removed from config file"
error "Use DISTRO and BUILD instead to manually select what to install (check README.md)"
exit 255
fi