update install script

pull/5/head
Miguel Mota 6 years ago
parent 8c4a29fd08
commit 1c6340bd6b

@ -19,7 +19,7 @@ go install github.com/miguelmota/cointop
#### Alternatively (without go) #### Alternatively (without go)
``` ```
sudo curl -s https://git.io/vxKUA | bash sudo curl -s https://raw.githubusercontent.com/miguelmota/cointop/master/install.sh | bash
``` ```
## Usage ## Usage

Binary file not shown.

@ -1,10 +1,5 @@
#!/bin/bash #!/bin/bash
if ! [ $(id -u) = 0 ]; then
echo "Must run as root"
exit 1
fi
echo "downloading..." echo "downloading..."
curl https://github.com/miguelmota/cointop/raw/master/bin/cointop -o cointop curl https://github.com/miguelmota/cointop/raw/master/bin/cointop -o cointop
echo "installing..." echo "installing..."

Loading…
Cancel
Save