From 1da852ca43ae8d49abf13f658432e2810d54b9c1 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 8 Jul 2023 09:48:03 -0400 Subject: [PATCH] Update audiobookshelf-install.sh apt-key is deprecated --- install/audiobookshelf-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/audiobookshelf-install.sh b/install/audiobookshelf-install.sh index 0de9f082..b0abeca6 100644 --- a/install/audiobookshelf-install.sh +++ b/install/audiobookshelf-install.sh @@ -21,8 +21,8 @@ $STD apt-get install -y mc msg_ok "Installed Dependencies" msg_info "Installing audiobookshelf" -$STD apt-key add <(curl -s --compressed "https://advplyr.github.io/audiobookshelf-ppa/KEY.gpg") -sh -c 'echo "deb https://advplyr.github.io/audiobookshelf-ppa ./" > /etc/apt/sources.list.d/audiobookshelf.list' +curl -fsSL https://advplyr.github.io/audiobookshelf-ppa/KEY.gpg >/etc/apt/trusted.gpg.d/audiobookshelf-ppa.asc +echo "deb [signed-by=/etc/apt/trusted.gpg.d/audiobookshelf-ppa.asc] https://advplyr.github.io/audiobookshelf-ppa ./" >/etc/apt/sources.list.d/audiobookshelf.list $STD apt-get update $STD apt install audiobookshelf msg_ok "Installed audiobookshelf"