浏览代码

Update sonarr-install.sh

apt-key is deprecated
tteckster 2 年之前
父节点
当前提交
1ca0522bce
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      install/sonarr-install.sh

+ 1 - 1
install/sonarr-install.sh

@@ -22,7 +22,7 @@ $STD apt-get install -y ca-certificates
 msg_ok "Installed Dependencies"
 
 msg_info "Installing Sonarr"
-$STD apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 2009837CBFFD68F45BC180471F4F90DE2A9B4BF8
+wget -qO /etc/apt/trusted.gpg.d/sonarr-repo.asc "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2009837cbffd68f45bc180471f4f90de2a9b4bf8"
 echo "deb https://apt.sonarr.tv/debian testing-main main" >/etc/apt/sources.list.d/sonarr.list
 $STD apt-get update
 DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" install -qqy sonarr &>/dev/null