mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 12:48:14 -05:00
修复ztncui install的bug
This commit is contained in:
parent
10c96569f1
commit
e8b6002e06
6
init.sh
6
init.sh
@ -5,11 +5,9 @@ npm config set registry http://registry.npm.taobao.org && npm install -g node-gy
|
|||||||
|
|
||||||
echo "下载源码中,源码文件较大,请耐心等待;如果源码下载失败,请重新执行该脚本"
|
echo "下载源码中,源码文件较大,请耐心等待;如果源码下载失败,请重新执行该脚本"
|
||||||
# 下载源码
|
# 下载源码
|
||||||
cd /opt && git clone http://github.markxu.vip/https://github.com/key-networks/ztncui.git
|
cd /opt && git clone https://github.markxu.workers.dev/https://github.com/xubiaolin/ztncui.git
|
||||||
if [ "$?"-ne 0]; then echo "下载源码出错,请重试"; exit 1; fi
|
|
||||||
|
|
||||||
cd /opt && git clone http://github.markxu.vip/https://github.com/zerotier/ZeroTierOne.git
|
cd /opt && git clone http://github.markxu.vip/https://github.com/zerotier/ZeroTierOne.git
|
||||||
if [ "$?"-ne 0]; then echo "下载源码出错,请重试"; exit 1; fi
|
|
||||||
|
|
||||||
# 配置ztncui
|
# 配置ztncui
|
||||||
cd /opt/ztncui/src && npm install
|
cd /opt/ztncui/src && npm install
|
||||||
|
Loading…
Reference in New Issue
Block a user