update nodejs

master
yutent 2024-11-02 18:41:55 +08:00
parent 7ee0dc2842
commit b49caea3f0
2 changed files with 4 additions and 4 deletions

View File

@ -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="22.10.0" version="23.1.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-v22.x/node-${release}-linux-${pkg_arch}.tar.xz" deb_url="http://mirrors.ustc.edu.cn/node/latest-v23.x/node-${release}-linux-${pkg_arch}.tar.xz"
# 创建临时目录, 用于下载官方包 # 创建临时目录, 用于下载官方包
if [ -d $tmp_dir ]; then if [ -d $tmp_dir ]; then

View File

@ -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.4" version="20.18.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-v18.x/node-${release}-linux-${pkg_arch}.tar.xz" deb_url="http://mirrors.ustc.edu.cn/node/latest-v20.x/node-${release}-linux-${pkg_arch}.tar.xz"
# 创建临时目录, 用于下载官方包 # 创建临时目录, 用于下载官方包
if [ -d $tmp_dir ]; then if [ -d $tmp_dir ]; then