Last active
May 20, 2016 18:34
-
-
Save hypnoglow/3fc868243f03c22c948aa16d1a68a047 to your computer and use it in GitHub Desktop.
dotbro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin.bash | |
if [ -x "$(which dotbro 2>/dev/null)" ] ; then | |
echo "Dotbro is already installed." | |
exit 0 | |
fi | |
if [ ! -x "$(which go 2>/dev/null)" ] ; then | |
echo "Golang is not installed." | |
echo "Downloading precompiled dotbro..." | |
#wget github.com ... | |
# TODO: ask directory which to install | |
mv /tmp/dotbro ~/apps/bin/dotbro | |
exit 0 | |
fi | |
go get -u github.com/hypnoglow/dotbro |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment