mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 12:59:40 -07:00
Removed references to .plexupdate
This commit is contained in:
parent
4cb2e3ff78
commit
1faad1ed86
1 changed files with 11 additions and 8 deletions
|
@ -7,13 +7,16 @@
|
||||||
# as well as the PlexPass versions.
|
# as well as the PlexPass versions.
|
||||||
#
|
#
|
||||||
# PlexPass users:
|
# 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:
|
# values:
|
||||||
#
|
#
|
||||||
# EMAIL='<whatever your plexpass email was>'
|
# EMAIL='<whatever your plexpass email was>'
|
||||||
# PASS='<whatever password you used>'
|
# PASS='<whatever password you used>'
|
||||||
# DOWNLOADDIR='<where you would like to save the downloaded package>'
|
# 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.
|
# See https://github.com/mrworf/plexupdate for more details.
|
||||||
#
|
#
|
||||||
# Returns 0 on success
|
# Returns 0 on success
|
||||||
|
@ -33,16 +36,16 @@
|
||||||
# Check out https://github.com/mrworf/plexupdate for latest version
|
# Check out https://github.com/mrworf/plexupdate for latest version
|
||||||
# and also what's new.
|
# and also what's new.
|
||||||
#
|
#
|
||||||
####################################################################
|
##############################################################################
|
||||||
# Quick-check before we allow bad things to happen
|
# Quick-check before we allow bad things to happen
|
||||||
if [ -z "${BASH_VERSINFO}" ]; then
|
if [ -z "${BASH_VERSINFO}" ]; then
|
||||||
echo "ERROR: You must execute this script with BASH" >&2
|
echo "ERROR: You must execute this script with BASH" >&2
|
||||||
exit 255
|
exit 255
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#################################################################
|
##############################################################################
|
||||||
# Don't change anything below this point, use a .plexupdate file
|
# Don't change anything below this point, use a plexupdate.conf file
|
||||||
# in your home directory to override this section.
|
# to override this section.
|
||||||
# DOWNLOADDIR is the full directory path you would like the download to go.
|
# DOWNLOADDIR is the full directory path you would like the download to go.
|
||||||
#
|
#
|
||||||
EMAIL=
|
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
|
# 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.
|
# valid will NOT be saved.
|
||||||
if [ "${SAVECONFIG}" = "yes" ]; then
|
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
|
for VAR in AUTOINSTALL AUTODELETE DOWNLOADDIR EMAIL PASS FORCE FORCEALL PUBLIC AUTOSTART AUTOUPDATE PLEXSERVER PLEXPORT CHECKUPDATE
|
||||||
do
|
do
|
||||||
|
@ -319,12 +322,12 @@ if [ "${CRON}" = "yes" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${KEEP}" = "yes" ]; then
|
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
|
exit 255
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z "${RELEASE}" ]; then
|
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)"
|
error "Use DISTRO and BUILD instead to manually select what to install (check README.md)"
|
||||||
exit 255
|
exit 255
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue