Update npm_setup.sh

This commit is contained in:
tteckster 2022-01-26 11:22:41 -05:00 committed by GitHub
parent 01a73379bf
commit f5d39291c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ apt-get -qqy upgrade &>/dev/null
#fi #fi
# Install openresty # Install openresty
echo -e "${CHECKMARK} \e[1;92m Installing Openresty... \e[0m" echo -e "${CHECKMARK} \e[1;92m Installing Openresty... \e[0m"
wget -O - https://openresty.org/package/pubkey.gpg | apt-key add - &>/dev/null wget -q -O - https://openresty.org/package/pubkey.gpg | apt-key add - &>/dev/null
codename=`grep -Po 'VERSION="[0-9]+ \(\K[^)]+' /etc/os-release` &>/dev/null codename=`grep -Po 'VERSION="[0-9]+ \(\K[^)]+' /etc/os-release` &>/dev/null
echo "deb http://openresty.org/package/debian $codename openresty" | tee /etc/apt/sources.list.d/openresty.list &>/dev/null echo "deb http://openresty.org/package/debian $codename openresty" | tee /etc/apt/sources.list.d/openresty.list &>/dev/null
apt-get -y update &>/dev/null apt-get -y update &>/dev/null