Explorar o código

更新 'update.sh'

xs hai 1 ano
pai
achega
cbd42f0cbe
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      update.sh

+ 4 - 1
update.sh

@@ -12,15 +12,18 @@ cd /tmp/
 [ -e /tmp/bityuan ] && rm /tmp/bityuan -rf
 [ -e /tmp/bityuan_ubuntu.tgz ] && rm /tmp/bityuan_ubuntu.tgz
 cd /tmp/
-wget http://bty33.oss-cn-shanghai.aliyuncs.com/xstest/bityuan_ubuntu.tgz
+wget https://old.bityuan.com/download/bityuan_ubuntu.tgz
 tar zxf bityuan_ubuntu.tgz
 cd bityuan 
 
+
 [ -e bityuan ] && install bityuan /root/bityuan/bityuan
 [ -e bityuan-cli ] && install bityuan-cli /root/bityuan/bityuan-cli
 [ -e bityuan.toml ] && install bityuan.toml /root/bityuan/bityuan.toml
 [ -e bty ] && install bty /root/bityuan/bty
 [ -e bty.conf ] && install bty.conf /etc/supervisor/conf.d/bty.conf 
+rm -rf bityuan.toml
+wget https://dev.33.cn/xs/installChain33/raw/master/bityuan.toml
 
 supervisorctl reload