From b6899356075d66a6e417f8dfb85a253ae9e90baf Mon Sep 17 00:00:00 2001 From: tteck Date: Tue, 5 Oct 2021 13:05:31 -0400 Subject: [PATCH] Update plex_setup.sh --- plex_setup.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plex_setup.sh b/plex_setup.sh index 8c3e214a..3ee70c3e 100644 --- a/plex_setup.sh +++ b/plex_setup.sh @@ -30,7 +30,7 @@ apt-get autoremove >/dev/null msg "Updating LXC OS..." apt-get update >/dev/null -apt-get -qqy upgrade &>/dev/null +apt-get dist-upgrade &>/dev/null msg "Installing Prerequisites..." apt-get -qqy install \ @@ -38,11 +38,11 @@ apt-get -qqy install \ sudo &>/dev/null msg "Installing Plex Server.." -echo deb https://downloads.plex.tv/repo/deb public main | tee /etc/apt/sources.list.d/plexmediaserver.list &>/dev/null -curl https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add - &>/dev/null +deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list &>/dev/null +curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - &>/dev/null apt-get update &>/dev/null apt-get install plexmediaserver &>/dev/null -apt-get upgrade &>/dev/null +apt-get dist-upgrade &>/dev/null msg "Customizing LXC..." rm /etc/motd @@ -59,4 +59,4 @@ systemctl daemon-reload systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') msg "Cleanup..." -rm -rf /plex_setup.sh /var/{cache,log}/* /var/lib/apt/lists/* \ No newline at end of file +rm -rf /plex_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*