Compare commits

...

3 Commits

Author SHA1 Message Date
tteckster 811589a470
Update build.func
Remove Ubuntu 18.04, which will reach EOL on April 30, 2023
2023-04-22 05:37:20 -04:00
tteckster 52ce746cbe
Update plex-install.sh
- The command apt-key is now considered deprecated, so migrate keyring to the new location with the new format.
- Remove the unnecessary dependency gnupg
2023-04-22 05:31:32 -04:00
tteckster 0e9aa8e620
Update plex-install.sh
move trusted.gpg
2023-04-22 01:12:22 -04:00
2 changed files with 3 additions and 5 deletions

View File

@ -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,8 +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
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"

View File

@ -114,8 +114,7 @@ exit-script() {
advanced_settings() { advanced_settings() {
if [ "$var_os" == "ubuntu" ]; then if [ "$var_os" == "ubuntu" ]; then
if var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 4 \ if var_version=$(whiptail --title "UBUNTU VERSION" --radiolist "Choose Version" 10 58 3 \
"18.04" "Bionic" OFF \
"20.04" "Focal" ON \ "20.04" "Focal" ON \
"22.04" "Jammy" OFF \ "22.04" "Jammy" OFF \
"22.10" "Kinetic" OFF \ "22.10" "Kinetic" OFF \