Update audiobookshelf-install.sh
apt-key is deprecated
This commit is contained in:
parent
be3f232860
commit
1da852ca43
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ $STD apt-get install -y mc
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing audiobookshelf"
|
msg_info "Installing audiobookshelf"
|
||||||
$STD apt-key add <(curl -s --compressed "https://advplyr.github.io/audiobookshelf-ppa/KEY.gpg")
|
curl -fsSL https://advplyr.github.io/audiobookshelf-ppa/KEY.gpg >/etc/apt/trusted.gpg.d/audiobookshelf-ppa.asc
|
||||||
sh -c 'echo "deb https://advplyr.github.io/audiobookshelf-ppa ./" > /etc/apt/sources.list.d/audiobookshelf.list'
|
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-get update
|
||||||
$STD apt install audiobookshelf
|
$STD apt install audiobookshelf
|
||||||
msg_ok "Installed audiobookshelf"
|
msg_ok "Installed audiobookshelf"
|
||||||
|
|
Loading…
Reference in a new issue