@lazycatcloud/lzc-cli 1.2.48 → 1.2.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.2.49
2
+
3
+ 1. 修复 nc 命令没有发现
4
+
1
5
  # 1.2.48
2
6
 
3
7
  1. 添加 rsync 版本限制
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazycatcloud/lzc-cli",
3
- "version": "1.2.48",
3
+ "version": "1.2.49",
4
4
  "description": "lazycat cloud developer kit",
5
5
  "scripts": {
6
6
  "prepublishOnly": "node check-changelog.js"
@@ -33,7 +33,7 @@ if ${LZCBUSYBOX} netstat -tln | grep ':22222' >/dev/null; then
33
33
  else
34
34
  echo "启动 rsync daemon."
35
35
  rsync --daemon --no-detach --config=/lzcapp/pkg/content/devshell/rsyncd.conf &
36
- while ! nc -z localhost 873; do
36
+ while ! ${LZCBUSYBOX} nc -z localhost 873; do
37
37
  sleep 1
38
38
  done
39
39
  echo "rsync daemon 已成功监听 873 端口"