File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,11 @@ function init_repositories {
3636 curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
3737 echo " deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
3838
39+ # https://mirrors.tuna.tsinghua.edu.cn/ 2021-02-05移除 nodesource 镜像
40+
3941 curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
40- echo ' deb https://mirrors.tuna.tsinghua.edu.cn/nodesource/deb_10 .x xenial main' > /etc/apt/sources.list.d/nodesource.list
41- echo ' deb-src https://mirrors.tuna.tsinghua.edu.cn/nodesource/deb_10 .x xenial main' >> /etc/apt/sources.list.d/nodesource.list
42+ echo ' deb https://deb.nodesource.com/node_10 .x xenial main' > /etc/apt/sources.list.d/nodesource.list
43+ echo ' deb-src https://deb.nodesource.com/node_10 .x xenial main' >> /etc/apt/sources.list.d/nodesource.list
4244
4345 apt-get update
4446}
You can’t perform that action at this time.
0 commit comments