From 2171405dc6db9d683814219ac11336b8e31771c5 Mon Sep 17 00:00:00 2001
From: tteckster <tteckster@gmail.com>
Date: Tue, 20 Feb 2024 07:26:31 -0500
Subject: [PATCH] Update plex-install.sh

update keyring location
---
 install/plex-install.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install/plex-install.sh b/install/plex-install.sh
index ca8dca63..394bb6f0 100644
--- a/install/plex-install.sh
+++ b/install/plex-install.sh
@@ -38,8 +38,8 @@ if [[ "$CTTYPE" == "0" ]]; then
 fi
 
 msg_info "Setting Up Plex Media Server Repository"
-wget -qO- https://downloads.plex.tv/plex-keys/PlexSign.key >/etc/apt/trusted.gpg.d/PlexSign.asc
-echo "deb [arch=$(dpkg --print-architecture)] https://downloads.plex.tv/repo/deb/ public main" >/etc/apt/sources.list.d/plexmediaserver.list
+wget -qO- https://downloads.plex.tv/plex-keys/PlexSign.key >/usr/share/keyrings/PlexSign.asc
+echo "deb [signed-by=/usr/share/keyrings/PlexSign.asc] https://downloads.plex.tv/repo/deb/ public main" >/etc/apt/sources.list.d/plexmediaserver.list
 msg_ok "Set Up Plex Media Server Repository"
 
 msg_info "Installing Plex Media Server"