update nodejs

master
yutent 2024-08-22 10:01:34 +08:00
parent 11ff617bb7
commit 011f9d9bfc
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
app_name="nodejs-current"
tmp_dir="/tmp/${app_name}_tmp"
version="21.7.3"
version="22.6.0"
release="v${version}"
pkg_arch="x64"
deb_arch="amd64"
@ -13,7 +13,7 @@ if [ "$1" == "arm" ]; then
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

View File

@ -2,7 +2,7 @@
app_name="nodejs-lts"
tmp_dir="/tmp/${app_name}_tmp"
version="18.20.2"
version="18.20.4"
release="v${version}"
pkg_arch="x64"
deb_arch="amd64"