Commit graph

26 commits

Author SHA1 Message Date
Andrew Parker
c34d83d77a Kind of nit-picky, but the part about "without trailing slash" is no longer necessary. Your logic handles with or without a trailing slash. 2015-10-01 00:16:23 -06:00
Andrew Parker
db8bebc94f I was still getting an error because only the first space in my DOWNLOADDIR was getting replaced. Adding the other / tells the expansion to match all occurrences. 2015-09-30 23:58:58 -06:00
Henric Andersson
c280afea94 Changed method of expanding download directory
Found a somewhat nicer and more compatible way of expanding a path which handles ~ and spaces.
2015-09-30 12:57:01 -07:00
Henric Andersson
eef0745da8 Misunderstood issue, now properly fixed 2015-09-19 09:53:30 -07:00
Henric Andersson
46f89c38a7 Fixed issue where ~ is used in DOWNLOADDIR
Some commands don't like it when a path has ~ in it, so
now we convert that into a regular path.
2015-09-19 09:50:00 -07:00
Henric Andersson
f405426fba Added -y to YUM and removed trailing whitespaces 2015-08-13 17:48:25 -07:00
falcon15500
ec41d972a4 Add check for INSTALLED_VERSION for RHEL distros 2015-08-07 21:51:13 +10:00
Henric Andersson
b0ff37ee9b Minor tweak to see if dpkg -i issue disappears 2015-07-31 13:19:07 -07:00
Henric Andersson
5c31c355ef Added auto-update option 2015-07-31 13:16:46 -07:00
Henric Andersson
0e7f98756f Now detects incorrect username/password 2015-07-31 12:54:55 -07:00
Mike Dawson
a4896420fc Add delete after auto install switch 2015-06-26 23:35:40 -07:00
Mark Glenn
6477bf6545 Fix check for installed version with no install
When Plex is not currently installed, make sure to check that the
installed version is blank before assuming it matches the available
version.
2015-06-16 21:39:03 -05:00
Sky Faber
e2f4222aa1 Cleanup user notifications when autoinstall is set 2015-02-08 10:18:45 -08:00
Andrew Parker
0bd03f8ff9 Use the [[ ]] operator to perform Pattern Matching. Otherwise the expression will never be true. 2015-02-05 23:56:07 -07:00
Henric Andersson
48ee906bb5 Fixed issue with force download, also changed exit code for when
the version is already installed so callers can detect what happen.

Lastly, the version stuff is gone, no point when I'm merging pull
requests :) Please use git instead :D
2015-02-01 22:52:37 -08:00
darrin0101
7e9cef860c Added detection of currently installed version. 2015-02-01 22:51:58 -08:00
Henric Andersson
e3953d13f1 Changed from RPM tool to yum which should automatically pull in
dependencies. (Djelibeybi)
2015-02-01 22:29:21 -08:00
Sky Faber
126a4574b9 Install if already downloaded 2015-01-28 00:03:41 -08:00
Henric Andersson
856f9833bf Added wget check to avoid issues downloading 2014-10-04 14:44:42 -07:00
Henric Andersson
a180d3c1bd Updated version and history 2014-10-04 14:31:52 -07:00
Henric Andersson
b85ba28d2d Moved config sourcing so it's possible to override
all config settings (except URL, that should be changed if
plex.tv alters again).
2014-06-23 22:00:17 -07:00
Andrew Parker
07a1368b07 Added the option to specify a download directory. This allows you to configure where the download will be saved, and where it looks for existing files. Specify the full path to the download directory, without a trailing slash. 2014-06-23 22:39:45 -06:00
Henric Andersson
4b6653f0fb Forgot to update version number in header
Probably need a better way of doing this :)
2014-05-20 14:57:52 -07:00
Henric Andersson
b8b4eaae8d Added support for redhat based distros
Script now autodetects redhat based distributions and download
the correct file. Can also install using the autoinstall option.

NOTE! Not as well tested as Debian based systems, since I don't
      run any redhat distro myself. Please provide feedback if
      you have issues.
2014-05-20 14:41:57 -07:00
Henric Andersson
170db366ba Added auto install
Added convenience function to automatically install the newly
downloaded file. Requires root, so there is now a root check
before continuing.

Signed-off-by: Henric Andersson <ha@sensenet.nu>
2014-05-20 14:16:13 -07:00
Henric Andersson
41f1b147fc Added support for non-plexpass
It's now possible to use this tool to download the
public version by supplying the -p option.

Also renamed the tool to something more fitting.

Signed-off-by: Henric Andersson <ha@sensenet.nu>
2014-04-24 01:20:34 -07:00
Renamed from plexpass_update.sh (Browse further)