Skip to content

Instantly share code, notes, and snippets.

@StudioLE
Created February 8, 2016 11:29
Show Gist options
  • Select an option

  • Save StudioLE/ab3b098172f64fe87b58 to your computer and use it in GitHub Desktop.

Select an option

Save StudioLE/ab3b098172f64fe87b58 to your computer and use it in GitHub Desktop.
Download and install Plex updates
#!/bin/bash
# From: https://forums.plex.tv/discussion/comment/1059738/#Comment_1059738
wget -q -O- https://plex.tv/downloads/1/archive | grep "downloads.plex.tv.*amd64.deb" | head -1 | sed -e "s/.*https/https/" -e "s/amd64.deb.*/amd64.deb/" | xargs wget -q -nc; ls -t *amd64.deb | head -1 | xargs dpkg -i -E
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment