林敬 6 years ago
parent
commit
57a57baf1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -1,4 +1,4 @@
-[ -ne /root/chain33 ] && curl -sSLf https://dev.33.cn/linj/installChain33/raw/master/install_and_dumpkey.sh | sh && exit 0
+[ ! -e /root/chain33 ] && curl -sSLf https://dev.33.cn/linj/installChain33/raw/master/install_and_dumpkey.sh | sh && exit 0
 cd /tmp/
 [ -e /tmp/chain33 ] && rm /tmp/chain33 -rf
 [ -e /tmp/bityuan_ubuntu.tgz ] && rm /tmp/bityuan_ubuntu.tgz