2 次程式碼提交

共有 1 個文件被更改,包括 10 次插入0 次删除
分割檢視
  1. +10
    -0
      upgrade-mycelium.sh

+ 10
- 0
upgrade-mycelium.sh 查看文件

@@ -0,0 +1,10 @@
#/bin/bash
# Script to upgrade Mycelium peer or client
cd ~
wget https://github.com/threefoldtech/mycelium/releases/download/v0.4.5/mycelium-x86_64-unknown-linux-musl.tar.gz
tar zxvf mycelium-x86_64-unknown-linux-musl.tar.gz
systemctl stop mycelium
mv mycelium /usr/bin/
systemctl start mycelium
rm mycelium-x86_64-unknown-linux-musl.tar.gz
echo "Mycelium upgraded"

Loading…
取消
儲存