From b0e2a6fbea128cd736feb8baf918d75788b5c224 Mon Sep 17 00:00:00 2001 From: Miguel Mota Date: Sat, 31 Mar 2018 03:51:54 -0700 Subject: [PATCH] update install script Former-commit-id: a6b0b779a989d756ba99d983bd8ce56120378dfb [formerly a6b0b779a989d756ba99d983bd8ce56120378dfb [formerly 84c13aa0acb0de35237d17946797b9f582e3c39a [formerly 1c6340bd6bb6fb03ee451f8cefc6cb8cca05fbba]]] Former-commit-id: c778beaa7a825a4dc5dac760487d31d02ad7055e Former-commit-id: 851519f231a0ef7cf9cc751dfd57138400fcbcb9 [formerly 40586478628c8afe8c1d9a3665574292e9f68f71] Former-commit-id: c5710af057685dbe7ed5d58f3fe42bd5e4d0f4f6 --- README.md | 2 +- bin/cointop.REMOVED.git-id | 2 +- install.sh | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b897c50..d11c87c 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ go install github.com/miguelmota/cointop #### 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 diff --git a/bin/cointop.REMOVED.git-id b/bin/cointop.REMOVED.git-id index a897118..5393229 100644 --- a/bin/cointop.REMOVED.git-id +++ b/bin/cointop.REMOVED.git-id @@ -1 +1 @@ -97598467aa6af6ee110094adec5f0ee97d2bab6a \ No newline at end of file +b4645e922bfc9c74e735b9b7e16669cf82966cf5 \ No newline at end of file diff --git a/install.sh b/install.sh index fc25de3..958dc95 100755 --- a/install.sh +++ b/install.sh @@ -1,10 +1,5 @@ #!/bin/bash -if ! [ $(id -u) = 0 ]; then - echo "Must run as root" - exit 1 -fi - echo "downloading..." curl https://github.com/miguelmota/cointop/raw/master/bin/cointop -o cointop echo "installing..."