2
0
mirror of https://github.com/miguelmota/cointop synced 2024-11-05 00:00:14 +00:00
cointop/install.sh
Miguel Mota f446e71c7b update script
Former-commit-id: 3a8b32691c98484cb1c237fc8b3f8d99872b7fd0 [formerly 3a8b32691c98484cb1c237fc8b3f8d99872b7fd0 [formerly 5edfd66cf0412a31be55793fc345d194c193877d [formerly 10df42aa3c]]]
Former-commit-id: d20de55f88aac6a4a5ce460d5bf46394fe863fd8
Former-commit-id: 20f765d62ffd701a44b739a066399ac9b3c2875f [formerly 562fd3375a13674d7bab01bf02e313a41cf69598]
Former-commit-id: 356959113ff76f8294dc7529936176deab47134d
2018-03-31 01:29:19 -07:00

13 lines
255 B
Bash
Executable File

#!/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."