Commit graph

7 commits

Author SHA1 Message Date
Alex Malinovich
869bb59b35 Check if users want to be notified of updates in installer.sh 2017-02-16 19:37:12 -08:00
Alex Malinovich
fdc24ff187 Improve security of config files (#153) 2016-12-19 21:41:38 -08:00
Henric Andersson
440de0cfe5 Deprecated exit code 5 and corrcted cronwrapper and enhanced README (#148)
* 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
2016-12-11 15:10:23 -08:00
Alex Malinovich
88a759a79c Installer script and cleanup
* 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
2016-12-09 22:00:48 -08:00
Alex Malinovich
760ad2b564 Fixes for cronwrapper behavior (#138)
* 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
2016-12-09 22:00:48 -08:00
Henric Andersson
5c48315fa4 More error checking and documentation 2016-12-09 22:00:48 -08:00
Henric Andersson
d97df36de3 Initial commit after cleaning up log 2016-12-09 22:00:47 -08:00