2
0
mirror of https://github.com/miguelmota/cointop synced 2024-11-10 13:10:26 +00:00
cointop/install.sh

13 lines
255 B
Bash
Raw Normal View History

#!/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..."
mv cointop /usr/local/bin/
echo "cointop installed."