update nodejs
parent
11ff617bb7
commit
011f9d9bfc
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
app_name="nodejs-current"
|
app_name="nodejs-current"
|
||||||
tmp_dir="/tmp/${app_name}_tmp"
|
tmp_dir="/tmp/${app_name}_tmp"
|
||||||
version="21.7.3"
|
version="22.6.0"
|
||||||
release="v${version}"
|
release="v${version}"
|
||||||
pkg_arch="x64"
|
pkg_arch="x64"
|
||||||
deb_arch="amd64"
|
deb_arch="amd64"
|
||||||
|
@ -13,7 +13,7 @@ if [ "$1" == "arm" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
deb_url="http://mirrors.ustc.edu.cn/node/latest-v21.x/node-${release}-linux-${pkg_arch}.tar.xz"
|
deb_url="http://mirrors.ustc.edu.cn/node/latest-v22.x/node-${release}-linux-${pkg_arch}.tar.xz"
|
||||||
|
|
||||||
# 创建临时目录, 用于下载官方包
|
# 创建临时目录, 用于下载官方包
|
||||||
if [ -d $tmp_dir ]; then
|
if [ -d $tmp_dir ]; then
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
app_name="nodejs-lts"
|
app_name="nodejs-lts"
|
||||||
tmp_dir="/tmp/${app_name}_tmp"
|
tmp_dir="/tmp/${app_name}_tmp"
|
||||||
version="18.20.2"
|
version="18.20.4"
|
||||||
release="v${version}"
|
release="v${version}"
|
||||||
pkg_arch="x64"
|
pkg_arch="x64"
|
||||||
deb_arch="amd64"
|
deb_arch="amd64"
|
||||||
|
|
Loading…
Reference in New Issue