Enabling nginx official repo for deb11

This commit is contained in:
myvesta 2021-08-26 14:32:34 +02:00 committed by GitHub
commit b9ccc103f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -527,11 +527,11 @@ check_result $? 'apt-get upgrade failed'
# Installing nginx repo
apt=/etc/apt/sources.list.d
if [ "$release" -ne 11 ]; then
# if [ "$release" -ne 11 ]; then
echo "deb http://nginx.org/packages/debian/ $codename nginx" > $apt/nginx.list
wget http://nginx.org/keys/nginx_signing.key -O /tmp/nginx_signing.key
apt-key add /tmp/nginx_signing.key
fi
# fi
# Installing vesta repo
echo "deb http://$RHOST/$codename/ $codename vesta" > $apt/vesta.list