update sources

This commit is contained in:
tteckster 2023-01-27 02:01:45 -05:00 committed by GitHub
parent 8307bbe86c
commit 40ad663997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 12 deletions

View file

@ -114,9 +114,7 @@ msg_ok "Installed Python"
msg_info "Installing Openresty"
$STD apt-key add <(curl -fsSL https://openresty.org/package/pubkey.gpg)
cat <<EOF >/etc/apt/sources.list.d/openresty.list
deb http://openresty.org/package/debian bullseye openresty
EOF
sh -c 'echo "deb http://openresty.org/package/debian $(lsb_release -cs) openresty" > /etc/apt/sources.list.d/openresty.list'
$STD apt-get -y update
$STD apt-get -y install --no-install-recommends openresty
msg_ok "Installed Openresty"