#/bin/bash
# Script to upgrade Mycelium peer or client
cd ~
wget https://github.com/threefoldtech/mycelium/releases/download/v0.6.1/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"
