Browse Source

更新 'newupdate.sh'

xs 2 years ago
parent
commit
c3569d2f22
1 changed files with 4 additions and 3 deletions
  1. 4 3
      newupdate.sh

+ 4 - 3
newupdate.sh

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