Skip to content

Commit

Permalink
Merge pull request #739 from paulmenzel/replace-deprecated-apt-key-ad…
Browse files Browse the repository at this point in the history
…d-usage

Replace deprecated `apt-key add` usage
  • Loading branch information
antobinary authored May 21, 2024
2 parents 26ce2d1 + 9e8778f commit c8a743f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbb-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,10 @@ check_version() {
check_root
need_pkg apt-transport-https
if ! apt-key list | grep -q "BigBlueButton apt-get"; then
wget "https://$PACKAGE_REPOSITORY/repo/bigbluebutton.asc" -O- | apt-key add -
curl -fsSL "https://$PACKAGE_REPOSITORY/repo/bigbluebutton.asc" | tee /etc/apt/keyrings/bigbluebutton.asc
fi

echo "deb https://$PACKAGE_REPOSITORY/$VERSION bigbluebutton-$DISTRO main" > /etc/apt/sources.list.d/bigbluebutton.list
echo "deb [signed-by=/etc/apt/keyrings/bigbluebutton.asc] https://$PACKAGE_REPOSITORY/$VERSION bigbluebutton-$DISTRO main" > /etc/apt/sources.list.d/bigbluebutton.list
}

check_host() {
Expand Down

0 comments on commit c8a743f

Please sign in to comment.