Update 'debian.sh'
This commit is contained in:
parent
3f43d17bcd
commit
26054cc960
@ -304,7 +304,7 @@ function add_nginx_repo() {
|
||||
printf "\E[0;35;40m"
|
||||
echo '### Add n.wtf Nginx repo ###'
|
||||
printf "\E[0m"
|
||||
curl -sS https://n.wtf/public.key | gpg --dearmor > /usr/share/keyrings/n.wtf.gpg
|
||||
curl -sS https://raw.githubusercontent.com/u-sb/nginx-docs/main/public/public.key | gpg --dearmor > /usr/share/keyrings/n.wtf.gpg
|
||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/n.wtf.gpg] https://mirror-cdn.xtom.com/sb/nginx/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/n.wtf.list
|
||||
printf "\E[0;33;40m"
|
||||
echo "### n.wtf Nginx repo added ###"
|
||||
|
Loading…
Reference in New Issue
Block a user