From 58f1bf48dbec4d6b8c691ca761533bbaa9074abe Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 14 Sep 2023 15:12:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dnodejs=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nodejs/package-current.sh | 5 ++++- nodejs/package-lts.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/nodejs/package-current.sh b/nodejs/package-current.sh index 6714144..e7d852e 100755 --- a/nodejs/package-current.sh +++ b/nodejs/package-current.sh @@ -44,7 +44,10 @@ tar -xf "${tmp_dir}/${app_name}-${pkg_arch}.tar.xz" -C $tmp_dir echo "解包完成, 复制到待打包目录..." -mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/* "./unpack/usr/" +mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/bin "./unpack/usr/" +mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/include "./unpack/usr/" +mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/lib "./unpack/usr/" +mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/share "./unpack/usr/" rm -rf $tmp_dir diff --git a/nodejs/package-lts.sh b/nodejs/package-lts.sh index 63ce86a..c7f4c7a 100755 --- a/nodejs/package-lts.sh +++ b/nodejs/package-lts.sh @@ -44,7 +44,10 @@ tar -xf "${tmp_dir}/${app_name}-${pkg_arch}.tar.xz" -C $tmp_dir echo "解包完成, 复制到待打包目录..." -mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/* "./unpack/usr/" +mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/bin "./unpack/usr/" +mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/include "./unpack/usr/" +mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/lib "./unpack/usr/" +mv ${tmp_dir}/node-${release}-linux-${pkg_arch}/share "./unpack/usr/" rm -rf $tmp_dir