summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Bassi <calebjbassi@gmail.com>2018-02-21 02:37:29 -0800
committerCaleb Bassi <calebjbassi@gmail.com>2018-02-21 02:37:29 -0800
commitcb3ba0396e369993eae52b91680d5180b120dc4b (patch)
tree95e4eabdeade75bd29b6805725087a6a9e1a0283
parent4c19aabcd41aaa47c82c789c198f653347a81716 (diff)
Added Darwin 64bit to install
-rw-r--r--README.md2
-rwxr-xr-xinstall.sh5
2 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 175f7e9..eed06ba 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ Built with [gopsutil](https://github.com/shirou/gopsutil), [drawille-go](https:/
### Binaries
-Binaries are currently available for 32bit and 64bit Linux and OSX.
+Binaries are currently available for 32/64bit Linux and 64bit OSX.
To download the latest binary for your OS into `/usr/bin`, you can run the [install](https://github.com/cjbassi/gotop/blob/master/install.sh) script:
diff --git a/install.sh b/install.sh
index 101bd77..2825e08 100755
--- a/install.sh
+++ b/install.sh
@@ -27,8 +27,9 @@ update() {
arch=$(uname -sm)
case "$arch" in
- Linux\ *64) install linux_amd64 ;;
- Linux\ *86) install linux_386 ;;
+ Linux\ *64) install linux_amd64 ;;
+ Linux\ *86) install linux_386 ;;
+ Darwin\ *64) install darwin_amd64 ;;
*)
print_error
exit 1