Henric Andersson
446fe0ba3e
Added additional sanity for email checking
2016-11-19 10:07:40 -08:00
Henric Andersson
7e11b392f7
Now properly detects missing email/pass and adds debug feature
...
By adding -v to the options, the tool prints out the email and
password used to authenticate, just-in-case.
2016-11-19 09:58:29 -08:00
Henric Andersson
1b98ed62f1
Wrong function
2016-11-16 22:22:21 -08:00
Henric Andersson
c122a14261
Stop users from saving config with invalid download directory
2016-11-16 22:21:24 -08:00
Henric Andersson
cb30231fac
Check if wget fails due to unsupported options
...
--show-progress will not stop plexupdate.sh but it will tell you
it didn't like it very much. You need wget 1.16+ for that to work.
Fixes #123
2016-11-10 17:20:06 -08:00
Henric Andersson
7bc0039328
Added version checking to help non-git users
...
CHECKUPDATE=yes (the default) will now alert you if there is a new
version available of this tool.
Solves #135
2016-11-10 17:00:17 -08:00
Henric Andersson
9708bd9f3e
Show more meaningful error for downloaddir
...
Now tells you what it tried
2016-11-10 16:31:06 -08:00
Henric Andersson
21e678c790
Show what config is being used to avoid confusion
2016-11-10 16:27:51 -08:00
Jon
08b5a74e51
Update readme ( #134 )
2016-11-04 13:48:22 -07:00
Jon
a94fda2265
More missing quotes ( #133 )
2016-11-04 13:47:29 -07:00
Jon
a0cab09509
Correct Cron logging ( #132 )
2016-11-04 11:03:04 -07:00
Jon
2a591e8840
Add missing quotes ( #127 )
2016-10-27 21:33:32 -07:00
Jon
c8b6d0a7b3
Add port variable ( #125 )
2016-10-27 21:33:12 -07:00
Jon
da8ff2f4bc
Add progress bar if requested ( #121 )
2016-10-20 12:11:03 -07:00
Jon
d9253e1939
Improve logging functionality ( #120 )
2016-10-20 09:19:55 -07:00
Jon
4c3bca05e5
Fix for no arguments causing error ( #119 )
2016-10-12 19:51:53 -07:00
Jon
6b8b40eb7a
Fix for Issue #116 ( #117 )
2016-10-11 18:44:40 -07:00
Jon
d51ed35a81
Argument changes ( #106 )
...
* 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
2016-10-08 19:05:01 -07:00
Andreas Paul
06ce11511a
fix git dependency package and typo ( #113 )
...
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.
2016-10-01 06:43:53 -07:00
Jon
5747ef78cb
Convert tmp files to mktemp ( #110 )
...
* Convert tmp files to mktemp
* Prepend variables with FILE_
* Rename SHAFILE
2016-09-29 21:25:07 -07:00
Henric Andersson
32828572a7
Merge pull request #108 from mscreations/checksum-fix
...
Make sure that the emitted sha file gets cleaned up
2016-09-29 08:58:44 -07:00
Jon Shaulis
c4a2ee4480
Do not depend on filename var
2016-09-29 10:15:09 -04:00
Jon Shaulis
256ece32f3
Move sha checksum file to tmp dir
2016-09-28 19:48:04 -04:00
Jon Shaulis
89cc3ff3f9
Move trap call to cleanup function
2016-09-15 21:20:42 -04:00
Jon Shaulis
7138e04fa4
Make sure that the emitted sha file gets cleaned up
2016-09-14 22:20:39 -04:00
Henric Andersson
b74aafdc02
Merge pull request #98 from demonbane/fix_path
...
Fix PATH on Ubuntu systems if dpkg is likely to fail during AUTOINSTALL
2016-09-01 15:51:03 -07:00
Alex Malinovich
a9992fa10f
Fix typo in autoinstall
2016-09-01 13:23:29 -07:00
Alex Malinovich
2f0d3be8e4
Remove redundant ldconfig check
2016-09-01 13:17:03 -07:00
Henric Andersson
d24061ec83
Merge pull request #103 from mscreations/fix-checksum
...
Fix issue with missed checksum check
2016-09-01 08:24:12 -07:00
Jon Shaulis
62dbcd4ac2
Fix issue with missed checksum check
2016-08-31 21:02:15 -04:00
Henric Andersson
2e3fa58e30
Added -m1 to last grep in RELEASe
...
We cannot handle the case where our filtering ends up with multiple
results at the very end, so make sure grep only returns the first
match.
Fixes #99
2016-08-31 07:09:08 -07:00
Alex Malinovich
eeabf9d74a
Fix PATH on Ubuntu systems if dpkg is likely to fail during AUTOINSTALL
2016-08-30 23:34:19 -07:00
Henric Andersson
b6f1f5bb2e
Merge pull request #96 from mscreations/mscreations-update-readme
...
Update README.md for checksum changes
2016-08-27 12:56:29 -07:00
Jon
e2d95e083c
Update README.md for checksum changes
2016-08-27 15:52:38 -04:00
Henric Andersson
49fd3806ea
Improved handling of auto update
...
No longer gets stuck in a loop
2016-08-27 11:41:10 -07:00
Henric Andersson
6adc7f99c9
Remove debug printouts
2016-08-27 11:32:26 -07:00
Henric Andersson
0ded4b4c07
Must include path in sha file
...
Without the complete path, sha1sum tests will fail
2016-08-27 11:15:14 -07:00
Henric Andersson
ec58dbb8dd
Merge pull request #93 from mscreations/add_checksum
...
Add checksum checking
2016-08-27 10:03:45 -07:00
Jon Shaulis
409f8992dc
Convert spaces to tabs
2016-08-27 13:02:08 -04:00
Henric Andersson
4e90141cca
Removed sudo call
...
Since AUTOINSTALL requires root and even checks for it, there is nolonger
a need to run the package installer with sudo.
Solves #90
2016-08-27 09:44:01 -07:00
Henric Andersson
5c8f646feb
Improved server detection
...
Now handles offline server and spurious results.
2016-08-27 09:38:30 -07:00
Henric Andersson
1e7e6e54cf
Merge pull request #92 from mscreations/master
...
Add X-Plex-Token to correct Issue #81
2016-08-27 08:30:35 -07:00
Jon Shaulis
858a429362
Implement checksum checking
2016-08-25 12:23:11 -04:00
Jon Shaulis
dabf3af2c1
Add X-Plex-Token to correct Issue #81
2016-08-24 21:18:40 -04:00
Henric Andersson
482f1d2c5a
Merge pull request #88 from demonbane/cron-changes
...
Make -c useful again
2016-08-16 16:52:19 -07:00
Alex Malinovich
2ef53f8588
Go back to using eval for downloaddir
2016-08-16 14:36:40 -07:00
Alex Malinovich
9d5158cbd9
Check for existence of downloaddir instead of empty string
2016-08-16 14:35:48 -07:00
Alex Malinovich
d2ccacb3e4
Fix service checking for autostart and add fallback error
2016-08-16 12:26:09 -07:00
Alex Malinovich
6c18a2b147
Print diagnostic message for autostart to stderr
2016-08-16 12:18:38 -07:00
Alex Malinovich
7470576cd6
Standardize on all uppercase variables
2016-08-16 12:12:56 -07:00