Token file isn't necessarily defined by user nor is it installed in
user's home directory. This allows us to specify additional locations
to find the preference where the token hides.
Even if you define email and password, the public version is still
downloaded unless PUBLIC=no
This change warns the user about this behavior since it's most likely
not intended.
* Deprecated exit code 5 and corrcted cronwrapper and enhanced README
- plexupdate.sh will consider no new version as success
- cronwrapper will not print anything unless it truly fails
- README.md updated to provide more details about .plexupdate
* Moved text from README.md to wiki and added notifyonreturn to cron
* Removed overthought part
* Stop users from saving config with invalid download directory
* Added additional sanity for email checking
* Add installer script
* Update cronwrapper to work with installer script
* Add AUTOUPDATE to default config
* Read /etc/plexupdate.conf before other configs, if available
* Use dnf on newer redhat systems
* Only use plexupdate.conf or --config
* Give existing users explaination as to why plexupdate.sh failed
* Removed references to .plexupdate
* Warn users that .plexupdate is going away
* Offer to import settings in ~/.plexupdate.conf in installer (if they exist)
* Only show AUTOSTART warning if AUTOINSTALL is enabled
* Change default download directory to /tmp
* Warn users to run the installer as sudo
* Remove VAR_CL logic in favor of checking config before getopt run
* Use sha1sum for version check and auto-fix git permissions on exit
* Skip update check if AUTOUPDATE is enabled
* Fix permissions for all files, not just .git
* Don't enable -P in installer if we know it won't work
* Fix cronwrapper failing if CONF is specified
* Exit code 0 means an update was applied, so we should send output
* Make sure wget log gets cleaned up along with other temp files
* Fix cronwrapper showing unwanted output even while logging
* Standardize tabs
* Change options to be robust
* Fix typos in usage
* Only trim first and last single quotes
* Remove unnecessary variable
* Give error message on old style config, but don't break
git-all installs _all_ git subpackages, which includes amongst other
packages apache and cvs, which is complete overkill.
The `git` package installs the git main components with minimal
dependencies, which should be sufficient.