Explorar o código

fix 6.4 update

linj-disanbo %!s(int64=4) %!d(string=hai) anos
pai
achega
282b1e1f67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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