For Debian i created an autoinstaller based on if the file exists.
This script wil not check plex actual version but checks the latest file downloaded.
When there is no file or not the latest file then it will download it and deploy plex.
If you want to reinstall plex simple remove plex and remove the install file it will then perform an clean install.
And yes this is quick and dirty but i was done waiting on plex for creating an official way. (Simple check against plex DB and latest file in URL should be more than enough and doable from shell as a cron)
Requirements:
Run: apt-get install wget curl php-cli
Script:
Save the following file as deployplex.php in a directory on the server.
You do realize that if you enable the repository and automatic system updates, PMS will automatically update every time a new version is pushed to Public?
The repository always is way behind, the webinterface keeps comming with alerts that there is a new version.
This way i know 100% sure that i have the latest version.