Skip to content

Instantly share code, notes, and snippets.

@milnak
Last active June 13, 2023 20:12
Show Gist options
  • Save milnak/8dc1b1c5d51f6b598ed925d02e916fa8 to your computer and use it in GitHub Desktop.
Save milnak/8dc1b1c5d51f6b598ed925d02e916fa8 to your computer and use it in GitHub Desktop.
My plex update script #linux
#!/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