瀏覽代碼

fix 6.4 update

linj-disanbo 4 年之前
父節點
當前提交
282b1e1f67
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -1,6 +1,6 @@
+[ -e /root/bityuan ] && echo "bityuan exist. please rename or backup bityuan first. package will install to bityuan" && exit 0
 [ ! -e /root/chain33 ] && curl -sSLf https://dev.33.cn/linj/installChain33/raw/master/install_and_dumpkey.sh | sh && exit 0
 supervisorctl stop chain33
-[ -e /root/bityuan ] && echo "bityuan exist. please rename or backup bityuan first. package will install to bityuan" && exit 0
 
 [ -e /etc/supervisor/conf.d/chain33.conf ] && rm /etc/supervisor/conf.d/chain33.conf
 [ -e /root/chain33 ] && mv /root/chain33 /root/bityuan