From 9e2a5129e835180a6d26348396a57f1c1bd5e910 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 8 Jul 2023 12:35:52 -0400 Subject: [PATCH] Update scrypted-install.sh apt-key is deprecated --- install/scrypted-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/scrypted-install.sh b/install/scrypted-install.sh index 78a4638d..e03f71e3 100644 --- a/install/scrypted-install.sh +++ b/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? " prompt if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then 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 install libedgetpu1-std msg_ok "Coral Edge TPU Support Added"