@ -17,7 +17,6 @@ msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y mc
$STD apt-get install -y gnupg
msg_ok "Installed Dependencies"
msg_ok "Installed Dependencies"
if [ [ -z " $( grep -w "100000" /proc/self/uid_map) " ] ] ; then
if [ [ -z " $( grep -w "100000" /proc/self/uid_map) " ] ] ; then
@ -37,9 +36,8 @@ if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then
fi
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)
wget -qO- https://downloads.plex.tv/plex-keys/PlexSign.key >/etc/apt/trusted.gpg.d/PlexSign.asc
sh -c 'echo "deb [arch=$(dpkg --print-architecture)] https://downloads.plex.tv/repo/deb/ public main" > /etc/apt/sources.list.d/plexmediaserver.list'
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"