For those like me who use plexmediaserver on a headless Ubuntu server (I can't be the only one, right?) here's a script I wrote to install or update plexmediaserver. It's a bit tedious to do an update via the command line so why not make it a bit easier?
I tend to do my updating via a terminal using ssh so this works great for me. The best solution would be a PPA, but until we have one, this script helps a bit.
Be advised my script-foo isn't super top-notch, so look it over carefully. However, I got no errors here...
NOTES:
I wrote this to work on Ubuntu only (although it should work with any .deb based distro) and I haven't yet tested to see if it detects 32bit vs. 64bit yet, but it detected 64bit on my machine properly.
AFAIK, "curl" was the only dependency I had to install (Kubuntu 15.04 here on my desktop and Ubuntu server 12.04)
I did put in checks to test for Ubuntu and they're remarked so you can change or delete them if needed.
I also set it for .deb only. If I get requests for .rpm functionality, I'll add it.
I don't know if the 32 vs. 64 bit will work on other distros either.
I had to add .txt to get it to upload, so just edit that out on your machine.
Please comment here if you find an issue with the script have an idea to improve it. Thanks!