소스 검색

Update scrypted-install.sh

apt-key is deprecated
tteckster 2 년 전
부모
커밋
9e2a5129e8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      install/scrypted-install.sh

+ 2 - 2
install/scrypted-install.sh

@@ -83,8 +83,8 @@ msg_ok "Installed Python3 Dependencies"
 read -r -p "Would you like to add Coral Edge TPU support? <y/N> " prompt
 read -r -p "Would you like to add Coral Edge TPU support? <y/N> " prompt
 if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
 msg_info "Adding Coral Edge TPU Support"
 msg_info "Adding Coral Edge TPU Support"
-$STD apt-key add <(curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg)
-sh -c 'echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" > /etc/apt/sources.list.d/coral-edgetpu.list'
+wget -qO /etc/apt/trusted.gpg.d/coral-repo.asc "https://packages.cloud.google.com/apt/doc/apt-key.gpg"
+echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" >/etc/apt/sources.list.d/coral-edgetpu.list
 $STD apt-get -y update
 $STD apt-get -y update
 $STD apt-get -y install libedgetpu1-std
 $STD apt-get -y install libedgetpu1-std
 msg_ok "Coral Edge TPU Support Added"
 msg_ok "Coral Edge TPU Support Added"