Skip to content

Commit

Permalink
Temporary fix for missing nginx repository for debian bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-antonyuk committed Dec 21, 2023
1 parent 0dad126 commit e0b9367
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install/OneClickInstall/install-Debian/install-preq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ fi
curl -s http://nginx.org/keys/nginx_signing.key | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/nginx.gpg --import
echo "deb [signed-by=/usr/share/keyrings/nginx.gpg] http://nginx.org/packages/$DIST/ $DISTRIB_CODENAME nginx" | tee /etc/apt/sources.list.d/nginx.list
chmod 644 /usr/share/keyrings/nginx.gpg
#f for missing nginx repository for debian bookworm
[ "$DISTRIB_CODENAME" = "bookworm" ] && sed -i "s/$DISTRIB_CODENAME/buster/g" /etc/apt/sources.list.d/nginx.list
#add openresty repo
curl -fsSL https://openresty.org/package/pubkey.gpg | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/openresty.gpg --import
Expand Down

0 comments on commit e0b9367

Please sign in to comment.