mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Enabling nginx official repo for deb11
This commit is contained in:
parent
e52f036dfb
commit
b9ccc103f1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue