Jelajahi Sumber

fix 6.4 update

linj-disanbo 4 tahun lalu
induk
melakukan
282b1e1f67
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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