Created
February 1, 2024 00:06
-
-
Save milnak/514becee3bdacd7dfbbefc17189f0ad8 to your computer and use it in GitHub Desktop.
Simple script to update plex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
echo 'Enter Plex update URL:' | |
echo 'e.g. https://plex.tv/downloads/latest/5?channel=16&build=linux-x86_64&distro=debian' | |
read -r url | |
wget --output-document=plex.deb --continue "${url}" | |
sudo dpkg -i plex.deb | |
sudo systemctl --no-pager status plexmediaserver | |
rm plex.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment