Update plex-install.sh

move trusted.gpg
This commit is contained in:
tteckster 2023-04-22 01:12:22 -04:00 committed by GitHub
parent 02c542d9db
commit 0e9aa8e620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ fi
msg_info "Setting Up Plex Media Server Repository" msg_info "Setting Up Plex Media Server Repository"
$STD apt-key add <(curl -fsSL https://downloads.plex.tv/plex-keys/PlexSign.key) $STD apt-key add <(curl -fsSL https://downloads.plex.tv/plex-keys/PlexSign.key)
sh -c 'echo "deb [arch=$(dpkg --print-architecture)] https://downloads.plex.tv/repo/deb/ public main" > /etc/apt/sources.list.d/plexmediaserver.list' sh -c 'echo "deb [arch=$(dpkg --print-architecture)] https://downloads.plex.tv/repo/deb/ public main" > /etc/apt/sources.list.d/plexmediaserver.list'
mv -f /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/ &>/dev/null
msg_ok "Set Up Plex Media Server Repository" msg_ok "Set Up Plex Media Server Repository"
msg_info "Installing Plex Media Server" msg_info "Installing Plex Media Server"