Browse Source

更新 'newupdate.sh'

xs 2 years ago
parent
commit
051532e800
1 changed files with 5 additions and 2 deletions
  1. 5 2
      newupdate.sh

+ 5 - 2
newupdate.sh

@@ -12,7 +12,7 @@ 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/33cn/bityuan_ubuntu.tgz
+wget wget https://old.bityuan.com/download/bityuan_ubuntu.tgz
 tar zxf bityuan_ubuntu.tgz
 cd bityuan 
 
@@ -20,7 +20,10 @@ cd bityuan
 [ -e bityuan-cli ] && install bityuan-cli /33cn/bityuan/bityuan-cli
 [ -e bityuan.toml ] && install bityuan.toml /33cn/bityuan/bityuan.toml
 [ -e bty ] && install bty /33cn/bityuan/bty
-[ -e bty.conf ] && install bty.conf /etc/supervisor/conf.d/bty.conf 
+[ -e bty.conf] && install bty.conf /etc/supervisor/conf.d/bty.conf 
+cd /33n/bityuan
+rm -rf bty.conf
+wget https://dev.33.cn/xs/installChain33/raw/master/bty.conf
 
 supervisorctl reload